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 @@ #include "mainwindow.h" +#include "tabwidget.h" @@ -42,4 +43,2 @@ void MainWindow::initUI() { - - /* @@ -53,3 +52,2 @@ void MainWindow::initUI() { - /* @@ -103,3 +101,7 @@ void MainWindow::initUI() { + m_consoleWindow = new TabWidget( this, "blah"); + setCentralWidget( m_consoleWindow ); + } + ProfileManager* MainWindow::manager() { @@ -107,2 +109,3 @@ ProfileManager* MainWindow::manager() { } + void MainWindow::populateProfiles() { @@ -110,4 +113,3 @@ void MainWindow::populateProfiles() { Profile::ValueList list = manager()->all(); - for (Profile::ValueList::Iterator it = list.begin(); it != list.end(); - ++it ) { + for (Profile::ValueList::Iterator it = list.begin(); it != list.end(); ++it ) { m_sessionsPop->insertItem( (*it).name() ); @@ -131,2 +133,3 @@ QList<Session> MainWindow::sessions() { } + void MainWindow::slotNew() { @@ -134,2 +137,3 @@ void MainWindow::slotNew() { } + void MainWindow::slotConnect() { @@ -138,2 +142,3 @@ void MainWindow::slotConnect() { } + void MainWindow::slotDisconnect() { @@ -142,2 +147,3 @@ void MainWindow::slotDisconnect() { } + void MainWindow::slotTerminate() { @@ -149,2 +155,3 @@ void MainWindow::slotTerminate() { } + void MainWindow::slotConfigure() { @@ -161,2 +168,3 @@ void MainWindow::slotConfigure() { } + void MainWindow::slotClose() { @@ -164,2 +172,3 @@ void MainWindow::slotClose() { } + void MainWindow::slotProfile(int) { |