author | harlekin <harlekin> | 2002-10-24 20:22:59 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-10-24 20:22:59 (UTC) |
commit | b3d13ad799eebbee3a1a73c4fe5b38167070ab87 (patch) (unidiff) | |
tree | 14f248b29279dec45ff94ced71fbb18b212cf897 /noncore/apps/opie-console/mainwindow.cpp | |
parent | 0b49e3192d9b7694c28fa82cf1ae509b86124e07 (diff) | |
download | opie-b3d13ad799eebbee3a1a73c4fe5b38167070ab87.zip opie-b3d13ad799eebbee3a1a73c4fe5b38167070ab87.tar.gz opie-b3d13ad799eebbee3a1a73c4fe5b38167070ab87.tar.bz2 |
more icons
Diffstat (limited to 'noncore/apps/opie-console/mainwindow.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/mainwindow.cpp | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/noncore/apps/opie-console/mainwindow.cpp b/noncore/apps/opie-console/mainwindow.cpp index 895fa9e..888ab90 100644 --- a/noncore/apps/opie-console/mainwindow.cpp +++ b/noncore/apps/opie-console/mainwindow.cpp | |||
@@ -181,44 +181,43 @@ void MainWindow::initUI() { | |||
181 | QString::null, 0, this, 0); | 181 | QString::null, 0, this, 0); |
182 | newCon->addTo( m_console ); | 182 | newCon->addTo( m_console ); |
183 | connect( newCon, SIGNAL(activated() ), | 183 | connect( newCon, SIGNAL(activated() ), |
184 | this, SLOT(slotNew() ) ); | 184 | this, SLOT(slotNew() ) ); |
185 | 185 | ||
186 | m_console->insertSeparator(); | 186 | m_console->insertSeparator(); |
187 | /* save icon is not available */ | ||
188 | 187 | ||
189 | QAction *saveCon = new QAction(tr("Save Connection"), | 188 | QAction *saveCon = new QAction(tr("Save Connection"), |
190 | QPixmap( ( const char** ) filesave_xpm ) , QString::null, | 189 | QPixmap( ( const char** ) filesave_xpm ) , QString::null, |
191 | 0, this, 0 ); | 190 | 0, this, 0 ); |
192 | saveCon->addTo( m_console ); | 191 | saveCon->addTo( m_console ); |
193 | connect( saveCon, SIGNAL(activated() ), | 192 | connect( saveCon, SIGNAL(activated() ), |
194 | this, SLOT(slotSaveSession() ) ); | 193 | this, SLOT(slotSaveSession() ) ); |
195 | m_console->insertSeparator(); | 194 | m_console->insertSeparator(); |
196 | 195 | ||
197 | /* | 196 | /* |
198 | * connect action | 197 | * connect action |
199 | */ | 198 | */ |
200 | m_connect = new QAction(); | 199 | m_connect = new QAction( tr("Connect"), Resource::loadPixmap("console/connected"), |
201 | m_connect->setText( tr("Connect") ); | 200 | QString::null, 0, this, 0 ); |
202 | m_connect->addTo( m_console ); | 201 | m_connect->addTo( m_console ); |
203 | connect(m_connect, SIGNAL(activated() ), | 202 | connect(m_connect, SIGNAL(activated() ), |
204 | this, SLOT(slotConnect() ) ); | 203 | this, SLOT(slotConnect() ) ); |
205 | 204 | ||
206 | /* | 205 | /* |
207 | * disconnect action | 206 | * disconnect action |
208 | */ | 207 | */ |
209 | m_disconnect = new QAction(); | 208 | m_disconnect = new QAction( tr("Disconnect"), Resource::loadPixmap("console/notconnected"), |
210 | m_disconnect->setText( tr("Disconnect") ); | 209 | QString::null, 0, this, 0 ); |
211 | m_disconnect->addTo( m_console ); | 210 | m_disconnect->addTo( m_console ); |
212 | connect(m_disconnect, SIGNAL(activated() ), | 211 | connect(m_disconnect, SIGNAL(activated() ), |
213 | this, SLOT(slotDisconnect() ) ); | 212 | this, SLOT(slotDisconnect() ) ); |
214 | 213 | ||
215 | m_console->insertSeparator(); | 214 | m_console->insertSeparator(); |
216 | 215 | ||
217 | m_transfer = new QAction(); | 216 | m_transfer = new QAction( tr("Transfer file..."), Resource::loadPixmap("pass") , QString::null, |
218 | m_transfer->setText( tr("Transfer file...") ); | 217 | 0, this, 0 ); |
219 | m_transfer->addTo( m_console ); | 218 | m_transfer->addTo( m_console ); |
220 | connect(m_transfer, SIGNAL(activated() ), | 219 | connect(m_transfer, SIGNAL(activated() ), |
221 | this, SLOT(slotTransfer() ) ); | 220 | this, SLOT(slotTransfer() ) ); |
222 | 221 | ||
223 | 222 | ||
224 | /* | 223 | /* |