author | harlekin <harlekin> | 2002-10-07 18:05:43 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-10-07 18:05:43 (UTC) |
commit | d55aa591770675008da9e3290617e463a77e4c98 (patch) (side-by-side diff) | |
tree | 93d779cc85298545673f4d5f2ea0fcc7d4d301b7 /noncore/apps/opie-console/mainwindow.cpp | |
parent | d25a925e70982b86539b98362ab2cd75c7883110 (diff) | |
download | opie-d55aa591770675008da9e3290617e463a77e4c98.zip opie-d55aa591770675008da9e3290617e463a77e4c98.tar.gz opie-d55aa591770675008da9e3290617e463a77e4c98.tar.bz2 |
reworked config dialog gui a bit and adapted it to opie
Diffstat (limited to 'noncore/apps/opie-console/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/mainwindow.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/noncore/apps/opie-console/mainwindow.cpp b/noncore/apps/opie-console/mainwindow.cpp index dce08ca..31f1138 100644 --- a/noncore/apps/opie-console/mainwindow.cpp +++ b/noncore/apps/opie-console/mainwindow.cpp @@ -6,25 +6,25 @@ #include <qtoolbar.h> #include "configdialog.h" #include "metafactory.h" #include "profilemanager.h" #include "mainwindow.h" #include "tabwidget.h" MainWindow::MainWindow() { m_factory = new MetaFactory(); m_sessions.setAutoDelete( TRUE ); m_curSession = 0; - m_manager = new ProfileManager(m_factory); + m_manager = new ProfileManager( m_factory ); m_manager->load(); initUI(); populateProfiles(); } void MainWindow::initUI() { setToolBarsMovable( FALSE ); m_tool = new QToolBar( this ); m_tool->setHorizontalStretchable( TRUE ); m_bar = new QMenuBar( m_tool ); @@ -87,26 +87,26 @@ void MainWindow::initUI() { m_console->insertItem(tr("New from Profile"), m_sessionsPop, -1, 0); /* insert the connection menu */ m_bar->insertItem( tr("Connection"), m_console ); /* the settings menu */ m_bar->insertItem( tr("Settings"), m_settings ); /* * connect to the menu activation */ - connect( m_sessionsPop, SIGNAL(activated(int) ), - this, SLOT(slotProfile(int) ) ); + connect( m_sessionsPop, SIGNAL(activated( int ) ), + this, SLOT(slotProfile( int ) ) ); m_consoleWindow = new TabWidget( this, "blah"); setCentralWidget( m_consoleWindow ); } ProfileManager* MainWindow::manager() { return m_manager; } void MainWindow::populateProfiles() { m_sessionsPop->clear(); @@ -159,18 +159,18 @@ void MainWindow::slotConfigure() { ConfigDialog conf( manager()->all() ); conf.showMaximized(); int ret = conf.exec(); if ( QDialog::Accepted == ret ) { manager()->setProfiles( conf.list() ); populateProfiles(); } } void MainWindow::slotClose() { - } -void MainWindow::slotProfile(int) { +void MainWindow::slotProfile( int ) { + } |