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

KDevelop Generic Shell

  • src
mainwindowshare.h
1 /***************************************************************************
2  mainwindowshare.h - shared stuff of the main widgets
3  -------------------
4  begin : 19 Dec 2002
5  copyright : (C) 2002 by Falk Brettschneider
6  email : falk@kdevelop.org
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  ***************************************************************************/
17 #ifndef __MAINWINDOWSHARE_H__
18 #define __MAINWINDOWSHARE_H__
19 
20 #include <tqobject.h>
21 
22 class TDEAction;
23 class TDEToggleAction;
24 namespace KParts {
25  class MainWindow;
26 }
30 class MainWindowShare : public TQObject
31 {
32  Q_OBJECT
33 
34 public:
35  MainWindowShare(TQObject* pParent = 0L, const char* name = 0L);
36  ~MainWindowShare() {}
37 
38  void createActions();
39  void init();
40 
41 public slots:
42  void slotGUICreated( KParts::Part * );
43 
44 signals:
45  void gotoNextWindow();
46  void gotoPreviousWindow();
47  void gotoFirstWindow();
48  void gotoLastWindow();
49 
50 private slots:
51  void slotReportBug();
52  void slotKeyBindings();
53  void slotConfigureToolbars();
54  void slotConfigureNotifications();
55  void slotConfigureEditors();
56  void slotSettings();
57  void slotActiveProcessChanged( KDevPlugin*, bool );
58  void slotActivePartChanged( KParts::Part* part );
59  void slotStopPopupActivated(int);
60  void slotStopMenuAboutToShow();
61  void slotStopButtonPressed();
62  void slotNewToolbarConfig();
63  void slotShowMenuBar();
64  void slotActionStatusText( const TQString &text );
65 
66  void slotToggleMainToolbar();
67  void slotToggleBuildToolbar();
68  void slotToggleViewToolbar();
69  void slotToggleBrowserToolbar();
70  void slotToggleStatusbar();
71 
72  void contextMenu(TQPopupMenu *, const Context *);
73 
74 private:
75  TDEToggleAction* m_toggleMainToolbar;
76  TDEToggleAction* m_toggleBuildToolbar;
77  TDEToggleAction* m_toggleViewToolbar;
78  TDEToggleAction* m_toggleBrowserToolbar;
79  TDEToggleAction* m_toggleStatusbar;
80 
81  TDEAction * m_configureEditorAction;
82 
83  TDEToolBarPopupAction* m_stopProcesses;
84 
85  KParts::MainWindow* m_pMainWnd;
86  TQPtrList<KDevPlugin> activeProcesses;
87 };
88 
89 #endif // __MAINWINDOWSHARE_H__
MainWindowShare
Shared main window functionality.
Definition: mainwindowshare.h:30
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.