Diffstat (limited to 'noncore/apps/opie-console/mainwindow.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/mainwindow.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/mainwindow.h b/noncore/apps/opie-console/mainwindow.h index 35338b7..7d074b6 100644 --- a/noncore/apps/opie-console/mainwindow.h +++ b/noncore/apps/opie-console/mainwindow.h | |||
@@ -11,24 +11,26 @@ | |||
11 | * it's also the dispatcher between the different | 11 | * it's also the dispatcher between the different |
12 | * actions supported by the gui | 12 | * actions supported by the gui |
13 | */ | 13 | */ |
14 | class QToolBar; | 14 | class QToolBar; |
15 | class QToolButton; | 15 | class QToolButton; |
16 | class QMenuBar; | 16 | class QMenuBar; |
17 | class QAction; | 17 | class QAction; |
18 | class MetaFactory; | 18 | class MetaFactory; |
19 | class TabWidget; | 19 | class TabWidget; |
20 | class ProfileManager; | 20 | class ProfileManager; |
21 | class Profile; | 21 | class Profile; |
22 | class FunctionKeyboard; | 22 | class FunctionKeyboard; |
23 | class QuickButton; | ||
24 | |||
23 | class MainWindow : public QMainWindow { | 25 | class MainWindow : public QMainWindow { |
24 | Q_OBJECT | 26 | Q_OBJECT |
25 | public: | 27 | public: |
26 | MainWindow( QWidget *parent = 0, const char *name = 0, WFlags fl = 0 ); | 28 | MainWindow( QWidget *parent = 0, const char *name = 0, WFlags fl = 0 ); |
27 | ~MainWindow(); | 29 | ~MainWindow(); |
28 | 30 | ||
29 | /** | 31 | /** |
30 | * our factory to generate IOLayer and so on | 32 | * our factory to generate IOLayer and so on |
31 | * | 33 | * |
32 | */ | 34 | */ |
33 | MetaFactory* factory(); | 35 | MetaFactory* factory(); |
34 | 36 | ||
@@ -50,24 +52,25 @@ public: | |||
50 | TabWidget* tabWidget(); | 52 | TabWidget* tabWidget(); |
51 | 53 | ||
52 | private slots: | 54 | private slots: |
53 | void slotNew(); | 55 | void slotNew(); |
54 | void slotConnect(); | 56 | void slotConnect(); |
55 | void slotDisconnect(); | 57 | void slotDisconnect(); |
56 | void slotTerminate(); | 58 | void slotTerminate(); |
57 | void slotConfigure(); | 59 | void slotConfigure(); |
58 | void slotClose(); | 60 | void slotClose(); |
59 | void slotProfile(int); | 61 | void slotProfile(int); |
60 | void slotTransfer(); | 62 | void slotTransfer(); |
61 | void slotOpenKeb(bool); | 63 | void slotOpenKeb(bool); |
64 | void slotOpenButtons(bool); | ||
62 | void slotRecordScript(); | 65 | void slotRecordScript(); |
63 | void slotSaveScript(); | 66 | void slotSaveScript(); |
64 | void slotRunScript(); | 67 | void slotRunScript(); |
65 | void slotFullscreen(); | 68 | void slotFullscreen(); |
66 | void slotSessionChanged( Session* ); | 69 | void slotSessionChanged( Session* ); |
67 | void slotKeyReceived(ushort, ushort, bool, bool, bool); | 70 | void slotKeyReceived(ushort, ushort, bool, bool, bool); |
68 | 71 | ||
69 | private: | 72 | private: |
70 | void initUI(); | 73 | void initUI(); |
71 | void populateProfiles(); | 74 | void populateProfiles(); |
72 | void create( const Profile& ); | 75 | void create( const Profile& ); |
73 | /** | 76 | /** |
@@ -81,35 +84,38 @@ private: | |||
81 | QList<Session> m_sessions; | 84 | QList<Session> m_sessions; |
82 | 85 | ||
83 | /** | 86 | /** |
84 | * the metafactory | 87 | * the metafactory |
85 | */ | 88 | */ |
86 | MetaFactory* m_factory; | 89 | MetaFactory* m_factory; |
87 | ProfileManager* m_manager; | 90 | ProfileManager* m_manager; |
88 | 91 | ||
89 | TabWidget* m_consoleWindow; | 92 | TabWidget* m_consoleWindow; |
90 | QToolBar* m_tool; | 93 | QToolBar* m_tool; |
91 | QToolBar* m_icons; | 94 | QToolBar* m_icons; |
92 | QToolBar* m_keyBar; | 95 | QToolBar* m_keyBar; |
96 | QToolBar* m_buttonBar; | ||
93 | QMenuBar* m_bar; | 97 | QMenuBar* m_bar; |
94 | QPopupMenu* m_console; | 98 | QPopupMenu* m_console; |
95 | QPopupMenu* m_settings; | 99 | QPopupMenu* m_settings; |
96 | QPopupMenu* m_sessionsPop; | 100 | QPopupMenu* m_sessionsPop; |
97 | QPopupMenu* m_scripts; | 101 | QPopupMenu* m_scripts; |
98 | QAction* m_connect; | 102 | QAction* m_connect; |
99 | QAction* m_disconnect; | 103 | QAction* m_disconnect; |
100 | QAction* m_terminate; | 104 | QAction* m_terminate; |
101 | QAction* m_transfer; | 105 | QAction* m_transfer; |
102 | QAction* m_setProfiles; | 106 | QAction* m_setProfiles; |
103 | QAction* m_openKeys; | 107 | QAction* m_openKeys; |
108 | QAction* m_openButtons; | ||
104 | QAction* m_recordScript; | 109 | QAction* m_recordScript; |
105 | QAction* m_saveScript; | 110 | QAction* m_saveScript; |
106 | QAction* m_runScript; | 111 | QAction* m_runScript; |
107 | QAction* m_fullscreen; | 112 | QAction* m_fullscreen; |
108 | QAction* m_closewindow; | 113 | QAction* m_closewindow; |
109 | 114 | ||
110 | FunctionKeyboard *m_kb; | 115 | FunctionKeyboard *m_kb; |
116 | QuickButton *m_qb; | ||
111 | bool m_isFullscreen; | 117 | bool m_isFullscreen; |
112 | }; | 118 | }; |
113 | 119 | ||
114 | 120 | ||
115 | #endif | 121 | #endif |