author | harlekin <harlekin> | 2003-04-10 20:33:24 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2003-04-10 20:33:24 (UTC) |
commit | 097706f265bf96a45932e227eb3d5d49bb3ba727 (patch) (unidiff) | |
tree | ab816a1ce85920828d9b6e837467c9c25d76f79f | |
parent | 0740e2ef7132c53ebe29cc3b548647012bc75d05 (diff) | |
download | opie-097706f265bf96a45932e227eb3d5d49bb3ba727.zip opie-097706f265bf96a45932e227eb3d5d49bb3ba727.tar.gz opie-097706f265bf96a45932e227eb3d5d49bb3ba727.tar.bz2 |
have icons on the right side
-rw-r--r-- | core/pim/todo/mainwindow.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/core/pim/todo/mainwindow.cpp b/core/pim/todo/mainwindow.cpp index 58981ca..77cbe17 100644 --- a/core/pim/todo/mainwindow.cpp +++ b/core/pim/todo/mainwindow.cpp | |||
@@ -38,2 +38,3 @@ | |||
38 | #include <qvbox.h> | 38 | #include <qvbox.h> |
39 | #include <qlayout.h> | ||
39 | #include <qlineedit.h> | 40 | #include <qlineedit.h> |
@@ -46,3 +47,2 @@ | |||
46 | #include <qpe/qpemessagebox.h> | 47 | #include <qpe/qpemessagebox.h> |
47 | #include <qpe/qpetoolbar.h> | ||
48 | 48 | ||
@@ -213,3 +213,5 @@ void MainWindow::initConfig() { | |||
213 | void MainWindow::initUI() { | 213 | void MainWindow::initUI() { |
214 | |||
214 | m_stack = new QWidgetStack(this, "main stack"); | 215 | m_stack = new QWidgetStack(this, "main stack"); |
216 | |||
215 | setCentralWidget( m_stack ); | 217 | setCentralWidget( m_stack ); |
@@ -218,6 +220,7 @@ void MainWindow::initUI() { | |||
218 | 220 | ||
219 | m_tool = new QPEToolBar( this ); | 221 | QToolBar *menubarholder = new QToolBar( this ); |
220 | m_tool->setHorizontalStretchable( TRUE ); | 222 | menubarholder->setHorizontalStretchable( TRUE ); |
223 | m_bar = new QMenuBar( menubarholder ); | ||
221 | 224 | ||
222 | m_bar = new QMenuBar( m_tool ); | 225 | m_tool = new QToolBar( this ); |
223 | 226 | ||
@@ -238,2 +241,3 @@ void MainWindow::initUI() { | |||
238 | void MainWindow::initViews() { | 241 | void MainWindow::initViews() { |
242 | |||
239 | TableView* tableView = new TableView( this, m_stack ); | 243 | TableView* tableView = new TableView( this, m_stack ); |