-rw-r--r-- | core/pim/todo/mainwindow.cpp | 7 | ||||
-rw-r--r-- | core/pim/todo/mainwindow.h | 4 | ||||
-rw-r--r-- | core/pim/todo/tableview.cpp | 1 |
3 files changed, 9 insertions, 3 deletions
diff --git a/core/pim/todo/mainwindow.cpp b/core/pim/todo/mainwindow.cpp index ecb4e40..ad7899f 100644 --- a/core/pim/todo/mainwindow.cpp +++ b/core/pim/todo/mainwindow.cpp @@ -55,2 +55,3 @@ #include <opie/otodoaccessvcal.h> +#include <opie/owidgetstack.h> @@ -75,2 +76,5 @@ MainWindow::MainWindow( QWidget* parent, { + if (!name) + setName("todo window"); + m_syncing = false; @@ -226,3 +230,3 @@ void MainWindow::initUI() { - m_stack = new QWidgetStack(this, "main stack"); + m_stack = new OWidgetStack(this, "main stack"); @@ -407,2 +411,3 @@ void MainWindow::closeEvent( QCloseEvent* e ) { e->accept(); + qApp->quit(); } diff --git a/core/pim/todo/mainwindow.h b/core/pim/todo/mainwindow.h index bd341c2..fd0e1bd 100644 --- a/core/pim/todo/mainwindow.h +++ b/core/pim/todo/mainwindow.h @@ -46,3 +46,3 @@ class QToolBar; class QAction; -class QWidgetStack; +class OWidgetStack; class Ir; @@ -144,3 +144,3 @@ private slots: *m_effectiveAction; - QWidgetStack *m_stack; + OWidgetStack *m_stack; QPopupMenu* m_catMenu, diff --git a/core/pim/todo/tableview.cpp b/core/pim/todo/tableview.cpp index 2e252d5..def0efb 100644 --- a/core/pim/todo/tableview.cpp +++ b/core/pim/todo/tableview.cpp @@ -87,2 +87,3 @@ TableView::TableView( MainWindow* window, QWidget* wid ) + setName("TableView"); // Load icons |