summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/mainwindow.h
authorzecke <zecke>2002-09-26 21:22:18 (UTC)
committer zecke <zecke>2002-09-26 21:22:18 (UTC)
commit80471c46265182afccfa832750abd1f4f7fbfaa9 (patch) (side-by-side diff)
tree73b174abc34fcd23abe2d865365726d85db312b3 /noncore/apps/opie-console/mainwindow.h
parent48b3a7159c613b59ca3f838517373620b8afd1d5 (diff)
downloadopie-80471c46265182afccfa832750abd1f4f7fbfaa9.zip
opie-80471c46265182afccfa832750abd1f4f7fbfaa9.tar.gz
opie-80471c46265182afccfa832750abd1f4f7fbfaa9.tar.bz2
main /s/setMainWindow/showMainWindow
First implementation of the gui
Diffstat (limited to 'noncore/apps/opie-console/mainwindow.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/mainwindow.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/mainwindow.h b/noncore/apps/opie-console/mainwindow.h
index 7786c95..3d1e1c8 100644
--- a/noncore/apps/opie-console/mainwindow.h
+++ b/noncore/apps/opie-console/mainwindow.h
@@ -11,6 +11,9 @@
* it's also the dispatcher between the different
* actions supported by the gui
*/
+class QToolBar;
+class QMenuBar;
+class QAction;
class MetaFactory;
class MainWindow : public QMainWindow {
Q_OBJECT
@@ -36,6 +39,7 @@ public:
QList<Session> sessions();
private:
+ void initUI();
/**
* the current session
*/
@@ -51,6 +55,16 @@ private:
*/
MetaFactory* m_factory;
+ QToolBar* m_tool;
+ QMenuBar* m_bar;
+ QPopupMenu* m_console;
+ QPopupMenu* m_settings;
+ QPopupMenu* m_newsession;
+ QAction* m_connect;
+ QAction* m_disconnect;
+ QAction* m_terminate;
+ QAction* m_set;
+
};