• 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 
18 class TQLabel;
19 
20 namespace KTextEditor { class ViewStatusMsgInterface; }
21 namespace KTextEditor { class ViewCursorInterface; }
22 namespace KParts { class Part; }
23 
27 class KDevStatusBar : public KStatusBar
28 {
29  Q_OBJECT
30 
31 
32 public:
33  KDevStatusBar( TQWidget *parent=0, const char *name=0 );
34  ~KDevStatusBar();
35  void addWidget ( TQWidget *widget, int stretch = 0, bool permanent = FALSE );
36 
37 private slots:
38  void cursorPositionChanged();
39  void activePartChanged(KParts::Part *part);
40  void setStatus(const TQString &str);
41  void setCursorPosition(int line, int col);
42 
43 private:
44  TQLabel *_status;
45 
46  KTextEditor::ViewCursorInterface * _cursorIface;
47  KTextEditor::ViewStatusMsgInterface * _viewmsgIface;
48  KParts::Part *_activePart;
49 
50 };
51 
52 #endif
KTextEditor
Definition: partcontroller.h:23
KDevStatusBar
Status bar.
Definition: statusbar.h:27
KParts
Definition: mainwindowshare.h:24

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.8.13
This website is maintained by Timothy Pearson.