author | harlekin <harlekin> | 2002-10-24 20:22:59 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-10-24 20:22:59 (UTC) |
commit | b3d13ad799eebbee3a1a73c4fe5b38167070ab87 (patch) (side-by-side diff) | |
tree | 14f248b29279dec45ff94ced71fbb18b212cf897 /noncore/apps | |
parent | 0b49e3192d9b7694c28fa82cf1ae509b86124e07 (diff) | |
download | opie-b3d13ad799eebbee3a1a73c4fe5b38167070ab87.zip opie-b3d13ad799eebbee3a1a73c4fe5b38167070ab87.tar.gz opie-b3d13ad799eebbee3a1a73c4fe5b38167070ab87.tar.bz2 |
more icons
-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 @@ -175,56 +175,55 @@ void MainWindow::initUI() { m_console->insertSeparator(); /* * new Action for new sessions */ QAction* newCon = new QAction(tr("New Connection"), Resource::loadPixmap( "new" ), 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() ) ); /* * fullscreen */ m_isFullscreen = false; m_fullscreen = new QAction( tr("Full screen"), Resource::loadPixmap( "fullscreen" ) , QString::null, 0, this, 0); |