summaryrefslogtreecommitdiff
authorharlekin <harlekin>2002-10-24 20:22:59 (UTC)
committer harlekin <harlekin>2002-10-24 20:22:59 (UTC)
commitb3d13ad799eebbee3a1a73c4fe5b38167070ab87 (patch) (unidiff)
tree14f248b29279dec45ff94ced71fbb18b212cf897
parent0b49e3192d9b7694c28fa82cf1ae509b86124e07 (diff)
downloadopie-b3d13ad799eebbee3a1a73c4fe5b38167070ab87.zip
opie-b3d13ad799eebbee3a1a73c4fe5b38167070ab87.tar.gz
opie-b3d13ad799eebbee3a1a73c4fe5b38167070ab87.tar.bz2
more icons
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/mainwindow.cpp13
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
@@ -184,7 +184,6 @@ void MainWindow::initUI() {
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,
@@ -197,8 +196,8 @@ void MainWindow::initUI() {
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() ) );
@@ -206,16 +205,16 @@ void MainWindow::initUI() {
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() ) );