author | harlekin <harlekin> | 2003-03-23 14:45:21 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2003-03-23 14:45:21 (UTC) |
commit | fd1b86e8590b34efb38b82953e5bf897a8de1cdf (patch) (unidiff) | |
tree | 3e4b84c715084bedf08e33f6f8b1b2db032c5259 | |
parent | 376aa038c75b3fbccdcb2e81d5b2ac3de787a447 (diff) | |
download | opie-fd1b86e8590b34efb38b82953e5bf897a8de1cdf.zip opie-fd1b86e8590b34efb38b82953e5bf897a8de1cdf.tar.gz opie-fd1b86e8590b34efb38b82953e5bf897a8de1cdf.tar.bz2 |
spawn default profile on startup
-rw-r--r-- | noncore/apps/opie-console/main.cpp | 2 | ||||
-rw-r--r-- | noncore/apps/opie-console/mainwindow.cpp | 7 |
2 files changed, 7 insertions, 2 deletions
diff --git a/noncore/apps/opie-console/main.cpp b/noncore/apps/opie-console/main.cpp index 3b4321a..b17f8e8 100644 --- a/noncore/apps/opie-console/main.cpp +++ b/noncore/apps/opie-console/main.cpp | |||
@@ -101,7 +101,7 @@ int main(int argc, char **argv) { | |||
101 | #endif | 101 | #endif |
102 | 102 | ||
103 | MainWindow mw; | 103 | MainWindow mw; |
104 | mw.setCaption(QObject::tr("Opie console") ); | 104 | mw.setCaption(QObject::tr("Opie Console") ); |
105 | app.showMainWidget( &mw ); | 105 | app.showMainWidget( &mw ); |
106 | 106 | ||
107 | int ap = app.exec(); | 107 | int ap = app.exec(); |
diff --git a/noncore/apps/opie-console/mainwindow.cpp b/noncore/apps/opie-console/mainwindow.cpp index 3acbfad..c48116d 100644 --- a/noncore/apps/opie-console/mainwindow.cpp +++ b/noncore/apps/opie-console/mainwindow.cpp | |||
@@ -54,6 +54,7 @@ MainWindow::MainWindow(QWidget *parent, const char *name, WFlags) : QMainWindow( | |||
54 | } | 54 | } |
55 | 55 | ||
56 | void MainWindow::initUI() { | 56 | void MainWindow::initUI() { |
57 | |||
57 | setToolBarsMovable( FALSE ); | 58 | setToolBarsMovable( FALSE ); |
58 | 59 | ||
59 | /* tool bar for the menu */ | 60 | /* tool bar for the menu */ |
@@ -120,11 +121,14 @@ void MainWindow::initUI() { | |||
120 | 121 | ||
121 | m_console->insertSeparator(); | 122 | m_console->insertSeparator(); |
122 | 123 | ||
124 | |||
123 | m_quickLaunch = new QAction( tr("QuickLaunch"), Resource::loadPixmap("console/konsole_mini"), QString::null, 0, this, 0 ); | 125 | m_quickLaunch = new QAction( tr("QuickLaunch"), Resource::loadPixmap("console/konsole_mini"), QString::null, 0, this, 0 ); |
124 | m_quickLaunch->addTo( m_icons ); | 126 | m_quickLaunch->addTo( m_icons ); |
125 | connect( m_quickLaunch, SIGNAL( activated() ), | 127 | connect( m_quickLaunch, SIGNAL( activated() ), |
126 | this, SLOT( slotQuickLaunch() ) ); | 128 | this, SLOT( slotQuickLaunch() ) ); |
127 | 129 | ||
130 | QWhatsThis::add( m_icons, tr( "The shell button launches the \"default\" profile. If there is none default values are taken" ) ); | ||
131 | |||
128 | m_transfer = new QAction( tr("Transfer file..."), Resource::loadPixmap("pass") , QString::null, | 132 | m_transfer = new QAction( tr("Transfer file..."), Resource::loadPixmap("pass") , QString::null, |
129 | 0, this, 0 ); | 133 | 0, this, 0 ); |
130 | m_transfer->addTo( m_console ); | 134 | m_transfer->addTo( m_console ); |
@@ -235,7 +239,7 @@ void MainWindow::initUI() { | |||
235 | 239 | ||
236 | 240 | ||
237 | newCon->addTo( m_icons ); | 241 | newCon->addTo( m_icons ); |
238 | m_setProfiles->addTo( m_icons ); | 242 | //m_setProfiles->addTo( m_icons ); |
239 | paste->addTo( m_icons ); | 243 | paste->addTo( m_icons ); |
240 | m_openKeys->addTo(m_icons); | 244 | m_openKeys->addTo(m_icons); |
241 | m_fullscreen->addTo( m_icons ); | 245 | m_fullscreen->addTo( m_icons ); |
@@ -262,6 +266,7 @@ void MainWindow::initUI() { | |||
262 | this, SLOT(slotSessionChanged(Session*) ) ); | 266 | this, SLOT(slotSessionChanged(Session*) ) ); |
263 | setCentralWidget( m_consoleWindow ); | 267 | setCentralWidget( m_consoleWindow ); |
264 | 268 | ||
269 | slotQuickLaunch(); | ||
265 | } | 270 | } |
266 | 271 | ||
267 | ProfileManager* MainWindow::manager() { | 272 | ProfileManager* MainWindow::manager() { |