author | harlekin <harlekin> | 2002-10-05 22:21:04 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-10-05 22:21:04 (UTC) |
commit | 48b16b3a3557e70abf90e83b84396258b92b652e (patch) (unidiff) | |
tree | 9dad37a08e79da5705a8297b2bf09a0b2441f3b6 /noncore/apps/opie-console/mainwindow.cpp | |
parent | 99425255c4afcd75ee6b2f903487cb958d3acdee (diff) | |
download | opie-48b16b3a3557e70abf90e83b84396258b92b652e.zip opie-48b16b3a3557e70abf90e83b84396258b92b652e.tar.gz opie-48b16b3a3557e70abf90e83b84396258b92b652e.tar.bz2 |
otabwidget instead of qtabwidget
Diffstat (limited to 'noncore/apps/opie-console/mainwindow.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/mainwindow.cpp | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/noncore/apps/opie-console/mainwindow.cpp b/noncore/apps/opie-console/mainwindow.cpp index 88d5823..dce08ca 100644 --- a/noncore/apps/opie-console/mainwindow.cpp +++ b/noncore/apps/opie-console/mainwindow.cpp | |||
@@ -11,2 +11,3 @@ | |||
11 | #include "mainwindow.h" | 11 | #include "mainwindow.h" |
12 | #include "tabwidget.h" | ||
12 | 13 | ||
@@ -42,4 +43,2 @@ void MainWindow::initUI() { | |||
42 | 43 | ||
43 | |||
44 | |||
45 | /* | 44 | /* |
@@ -53,3 +52,2 @@ void MainWindow::initUI() { | |||
53 | 52 | ||
54 | |||
55 | /* | 53 | /* |
@@ -103,3 +101,7 @@ void MainWindow::initUI() { | |||
103 | 101 | ||
102 | m_consoleWindow = new TabWidget( this, "blah"); | ||
103 | setCentralWidget( m_consoleWindow ); | ||
104 | |||
104 | } | 105 | } |
106 | |||
105 | ProfileManager* MainWindow::manager() { | 107 | ProfileManager* MainWindow::manager() { |
@@ -107,2 +109,3 @@ ProfileManager* MainWindow::manager() { | |||
107 | } | 109 | } |
110 | |||
108 | void MainWindow::populateProfiles() { | 111 | void MainWindow::populateProfiles() { |
@@ -110,4 +113,3 @@ void MainWindow::populateProfiles() { | |||
110 | Profile::ValueList list = manager()->all(); | 113 | Profile::ValueList list = manager()->all(); |
111 | for (Profile::ValueList::Iterator it = list.begin(); it != list.end(); | 114 | for (Profile::ValueList::Iterator it = list.begin(); it != list.end(); ++it ) { |
112 | ++it ) { | ||
113 | m_sessionsPop->insertItem( (*it).name() ); | 115 | m_sessionsPop->insertItem( (*it).name() ); |
@@ -131,2 +133,3 @@ QList<Session> MainWindow::sessions() { | |||
131 | } | 133 | } |
134 | |||
132 | void MainWindow::slotNew() { | 135 | void MainWindow::slotNew() { |
@@ -134,2 +137,3 @@ void MainWindow::slotNew() { | |||
134 | } | 137 | } |
138 | |||
135 | void MainWindow::slotConnect() { | 139 | void MainWindow::slotConnect() { |
@@ -138,2 +142,3 @@ void MainWindow::slotConnect() { | |||
138 | } | 142 | } |
143 | |||
139 | void MainWindow::slotDisconnect() { | 144 | void MainWindow::slotDisconnect() { |
@@ -142,2 +147,3 @@ void MainWindow::slotDisconnect() { | |||
142 | } | 147 | } |
148 | |||
143 | void MainWindow::slotTerminate() { | 149 | void MainWindow::slotTerminate() { |
@@ -149,2 +155,3 @@ void MainWindow::slotTerminate() { | |||
149 | } | 155 | } |
156 | |||
150 | void MainWindow::slotConfigure() { | 157 | void MainWindow::slotConfigure() { |
@@ -161,2 +168,3 @@ void MainWindow::slotConfigure() { | |||
161 | } | 168 | } |
169 | |||
162 | void MainWindow::slotClose() { | 170 | void MainWindow::slotClose() { |
@@ -164,2 +172,3 @@ void MainWindow::slotClose() { | |||
164 | } | 172 | } |
173 | |||
165 | void MainWindow::slotProfile(int) { | 174 | void MainWindow::slotProfile(int) { |