• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • KDevelop Generic Shell
 

KDevelop Generic Shell

  • src
statusbar.h
1/***************************************************************************
2 * Copyright (C) 2001 by Bernd Gehrmann *
3 * bernd@kdevelop.org *
4 * *
5 * This program is free software; you can redistribute it and/or modify *
6 * it under the terms of the GNU General Public License as published by *
7 * the Free Software Foundation; either version 2 of the License, or *
8 * (at your option) any later version. *
9 * *
10 ***************************************************************************/
11
12#ifndef _STATUSBAR_H_
13#define _STATUSBAR_H_
14
15#include <kstatusbar.h>
16#include <tqmap.h>
17
18class TQLabel;
19
20namespace KTextEditor { class ViewStatusMsgInterface; }
21namespace KTextEditor { class ViewCursorInterface; }
22namespace KParts { class Part; }
23
27class KDevStatusBar : public KStatusBar
28{
29 TQ_OBJECT
30
31
32public:
33 KDevStatusBar( TQWidget *parent=0, const char *name=0 );
34 ~KDevStatusBar();
35 void addWidget ( TQWidget *widget, int stretch = 0, bool permanent = false );
36
37private slots:
38 void cursorPositionChanged();
39 void activePartChanged(KParts::Part *part);
40 void setStatus(const TQString &str);
41 void setCursorPosition(int line, int col);
42
43private:
44 TQLabel *_status;
45
46 KTextEditor::ViewCursorInterface * _cursorIface;
47 KTextEditor::ViewStatusMsgInterface * _viewmsgIface;
48 KParts::Part *_activePart;
49
50};
51
52#endif

KDevelop Generic Shell

Skip menu "KDevelop Generic Shell"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

KDevelop Generic Shell

Skip menu "KDevelop Generic Shell"
  • buildtools
  •   lib
  •     base
  •     parsers
  •       autotools
  •       qmake
  •     widgets
  •   api
  • languages
  •   lib
  •     debugger
  •     designer_integration
  •     interfaces
  • lib
  •   catalog
  •   interfaces
  •     extensions
  •     external
  •     extras
  •   util
  •   widgets
  •     propeditor
  • parts
  •   documentation
  •     interfaces
  • src
  •   profileengine
  •     lib
Generated for KDevelop Generic Shell by doxygen 1.15.0
This website is maintained by Timothy Pearson.