-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() { QString::null, 0, this, 0); newCon->addTo( m_console ); connect( newCon, SIGNAL(activated() ), this, SLOT(slotNew() ) ); m_console->insertSeparator(); - /* save icon is not available */ QAction *saveCon = new QAction(tr("Save Connection"), QPixmap( ( const char** ) filesave_xpm ) , QString::null, 0, this, 0 ); saveCon->addTo( m_console ); connect( saveCon, SIGNAL(activated() ), this, SLOT(slotSaveSession() ) ); m_console->insertSeparator(); /* * connect action */ - m_connect = new QAction(); - m_connect->setText( tr("Connect") ); + m_connect = new QAction( tr("Connect"), Resource::loadPixmap("console/connected"), + QString::null, 0, this, 0 ); m_connect->addTo( m_console ); connect(m_connect, SIGNAL(activated() ), this, SLOT(slotConnect() ) ); /* * disconnect action */ - m_disconnect = new QAction(); - m_disconnect->setText( tr("Disconnect") ); + m_disconnect = new QAction( tr("Disconnect"), Resource::loadPixmap("console/notconnected"), + QString::null, 0, this, 0 ); m_disconnect->addTo( m_console ); connect(m_disconnect, SIGNAL(activated() ), this, SLOT(slotDisconnect() ) ); m_console->insertSeparator(); - m_transfer = new QAction(); - m_transfer->setText( tr("Transfer file...") ); + m_transfer = new QAction( tr("Transfer file..."), Resource::loadPixmap("pass") , QString::null, + 0, this, 0 ); m_transfer->addTo( m_console ); connect(m_transfer, SIGNAL(activated() ), this, SLOT(slotTransfer() ) ); /* |