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 | |
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 @@ -183,9 +183,8 @@ void MainWindow::initUI() { 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 ); @@ -196,27 +195,27 @@ void MainWindow::initUI() { /* * 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() ) ); |