summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/mainwindow.cpp21
-rw-r--r--noncore/apps/opie-console/profilemanager.cpp2
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
@@ -51,5 +51,5 @@ void MainWindow::initUI() {
*/
QAction* a = new QAction(tr("New Connection"),
- Resource::loadPixmap( "new" ),
+ Resource::loadPixmap( "new" ),
QString::null, 0, this, 0);
a->addTo( m_console );
@@ -101,5 +101,5 @@ void MainWindow::initUI() {
*/
m_setProfiles = new QAction(tr("Configure Profiles"),
- Resource::loadPixmap( "SettingsIcon" ),
+ Resource::loadPixmap( "SettingsIcon" ),
QString::null, 0, this, 0);
m_setProfiles->addTo( m_settings );
@@ -114,9 +114,9 @@ void MainWindow::initUI() {
m_recordScript->addTo(m_scripts);
connect(m_recordScript, SIGNAL(activated()), this, SLOT(slotRecordScript()));
-
+
m_saveScript = new QAction(tr("Save Script"), QString::null, 0, this, 0);
m_saveScript->addTo(m_scripts);
connect(m_saveScript, SIGNAL(activated()), this, SLOT(slotSaveScript()));
-
+
m_runScript = new QAction(tr("Run Script"), QString::null, 0, this, 0);
m_runScript->addTo(m_scripts);
@@ -126,14 +126,14 @@ void MainWindow::initUI() {
* action that open/closes the keyboard
*/
- 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);
m_openKeys->setToggleAction(true);
- connect (m_openKeys, SIGNAL(toggled(bool)),
+ connect (m_openKeys, SIGNAL(toggled(bool)),
this, SLOT(slotOpenKeb(bool)));
m_openKeys->addTo(m_icons);
-
+
/* insert the submenu */
@@ -146,5 +146,5 @@ void MainWindow::initUI() {
/* the scripts menu */
m_bar->insertItem( tr("Scripts"), m_scripts );
-
+
/* the settings menu */
m_bar->insertItem( tr("Settings"), m_settings );
@@ -157,5 +157,5 @@ void MainWindow::initUI() {
m_kb = new FunctionKeyboard(m_keyBar);
-
+
/*
* connect to the menu activation
@@ -203,4 +203,5 @@ void MainWindow::slotNew() {
qWarning("New Connection");
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
@@ -78,5 +78,5 @@ Session* ProfileManager::fromProfile( const Profile& prof, QWidget* parent) {
QWidgetStack *stack = new QWidgetStack(parent);
session->setWidgetStack( stack );
- QWidget* dummy = new QWidget(stack );
+ QWidget* dummy = new QWidget( stack );
QHBoxLayout* lay = new QHBoxLayout(dummy );
stack->addWidget( dummy, 0 );