-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 | /* |