-rw-r--r-- | noncore/apps/opie-console/mainwindow.cpp | 21 | ||||
-rw-r--r-- | noncore/apps/opie-console/profilemanager.cpp | 2 |
2 files changed, 12 insertions, 11 deletions
diff --git a/noncore/apps/opie-console/mainwindow.cpp b/noncore/apps/opie-console/mainwindow.cpp index 46c5bed..0a58b6c 100644 --- a/noncore/apps/opie-console/mainwindow.cpp +++ b/noncore/apps/opie-console/mainwindow.cpp @@ -52,3 +52,3 @@ void MainWindow::initUI() { QAction* a = new QAction(tr("New Connection"), - Resource::loadPixmap( "new" ), + Resource::loadPixmap( "new" ), QString::null, 0, this, 0); @@ -102,3 +102,3 @@ void MainWindow::initUI() { m_setProfiles = new QAction(tr("Configure Profiles"), - Resource::loadPixmap( "SettingsIcon" ), + Resource::loadPixmap( "SettingsIcon" ), QString::null, 0, this, 0); @@ -115,3 +115,3 @@ void MainWindow::initUI() { connect(m_recordScript, SIGNAL(activated()), this, SLOT(slotRecordScript())); - + m_saveScript = new QAction(tr("Save Script"), QString::null, 0, this, 0); @@ -119,3 +119,3 @@ void MainWindow::initUI() { connect(m_saveScript, SIGNAL(activated()), this, SLOT(slotSaveScript())); - + m_runScript = new QAction(tr("Run Script"), QString::null, 0, this, 0); @@ -127,4 +127,4 @@ void MainWindow::initUI() { */ - m_openKeys = new QAction (tr("Open Keyboard..."), - Resource::loadPixmap( "down" ), + m_openKeys = new QAction (tr("Open Keyboard..."), + Resource::loadPixmap( "down" ), QString::null, 0, this, 0); @@ -133,6 +133,6 @@ void MainWindow::initUI() { - connect (m_openKeys, SIGNAL(toggled(bool)), + connect (m_openKeys, SIGNAL(toggled(bool)), this, SLOT(slotOpenKeb(bool))); m_openKeys->addTo(m_icons); - + @@ -147,3 +147,3 @@ void MainWindow::initUI() { m_bar->insertItem( tr("Scripts"), m_scripts ); - + /* the settings menu */ @@ -158,3 +158,3 @@ void MainWindow::initUI() { m_kb = new FunctionKeyboard(m_keyBar); - + /* @@ -204,2 +204,3 @@ void MainWindow::slotNew() { ProfileEditorDialog dlg(factory() ); + dlg.showMaximized(); int ret = dlg.exec(); diff --git a/noncore/apps/opie-console/profilemanager.cpp b/noncore/apps/opie-console/profilemanager.cpp index 78751e7..c965700 100644 --- a/noncore/apps/opie-console/profilemanager.cpp +++ b/noncore/apps/opie-console/profilemanager.cpp @@ -79,3 +79,3 @@ Session* ProfileManager::fromProfile( const Profile& prof, QWidget* parent) { session->setWidgetStack( stack ); - QWidget* dummy = new QWidget(stack ); + QWidget* dummy = new QWidget( stack ); QHBoxLayout* lay = new QHBoxLayout(dummy ); |