summaryrefslogtreecommitdiff
authorhash <hash>2002-10-13 02:20:23 (UTC)
committer hash <hash>2002-10-13 02:20:23 (UTC)
commit2ce86d9be1bbf99092348adf815578b110fe7289 (patch) (side-by-side diff)
tree4c2812b4f4edb1704a379e2f6a4d9b2af1a39c23
parent173c272fa2dc860dbb2ff54b6be2680c544340bb (diff)
downloadopie-2ce86d9be1bbf99092348adf815578b110fe7289.zip
opie-2ce86d9be1bbf99092348adf815578b110fe7289.tar.gz
opie-2ce86d9be1bbf99092348adf815578b110fe7289.tar.bz2
added a couple more buttons to the bar
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/mainwindow.cpp15
1 files changed, 9 insertions, 6 deletions
diff --git a/noncore/apps/opie-console/mainwindow.cpp b/noncore/apps/opie-console/mainwindow.cpp
index 2a4d069..3af0cba 100644
--- a/noncore/apps/opie-console/mainwindow.cpp
+++ b/noncore/apps/opie-console/mainwindow.cpp
@@ -45,3 +45,2 @@ void MainWindow::initUI() {
m_icons = new QToolBar(this);
- m_icons->setHorizontalStretchable( TRUE );
@@ -50,5 +49,7 @@ void MainWindow::initUI() {
*/
- QAction* a = new QAction();
- a->setText( tr("New Connection") );
+ QAction* a = new QAction(tr("New Connection"),
+ Resource::loadPixmap( "new" ),
+ QString::null, 0, this, 0);
a->addTo( m_console );
+ a->addTo( m_icons );
connect(a, SIGNAL(activated() ),
@@ -98,5 +99,7 @@ void MainWindow::initUI() {
*/
- m_setProfiles = new QAction();
- m_setProfiles->setText( tr("Configure Profiles") );
+ m_setProfiles = new QAction(tr("Configure Profiles"),
+ Resource::loadPixmap( "SettingsIcon" ),
+ QString::null, 0, this, 0);
m_setProfiles->addTo( m_settings );
+ m_setProfiles->addTo( m_icons );
connect( m_setProfiles, SIGNAL(activated() ),
@@ -107,3 +110,3 @@ void MainWindow::initUI() {
*/
- m_openKeys = new QAction ("Keyboard...",
+ m_openKeys = new QAction (tr("Open Keyboard..."),
Resource::loadPixmap( "down" ),