author | drw <drw> | 2005-02-02 18:37:52 (UTC) |
---|---|---|
committer | drw <drw> | 2005-02-02 18:37:52 (UTC) |
commit | c024777b6760a4e950e6df04a6e1e5894b0e3659 (patch) (unidiff) | |
tree | be77bb8f1bc3bfe7ab961cfe0525979c8145139a /core | |
parent | 5b2a4d83b6b60cc9ca634aeb481cf15d70fc9b2f (diff) | |
download | opie-c024777b6760a4e950e6df04a6e1e5894b0e3659.zip opie-c024777b6760a4e950e6df04a6e1e5894b0e3659.tar.gz opie-c024777b6760a4e950e6df04a6e1e5894b0e3659.tar.bz2 |
Minor update to work with new OPimMainWindow
-rw-r--r-- | core/pim/todo/mainwindow.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/pim/todo/mainwindow.cpp b/core/pim/todo/mainwindow.cpp index 75da27c..9013522 100644 --- a/core/pim/todo/mainwindow.cpp +++ b/core/pim/todo/mainwindow.cpp | |||
@@ -60,27 +60,28 @@ _;:, .> :=|. This program is free software; you can | |||
60 | #include "todoeditor.h" | 60 | #include "todoeditor.h" |
61 | #include "newtaskdlg.h" | 61 | #include "newtaskdlg.h" |
62 | #include "mainwindow.h" | 62 | #include "mainwindow.h" |
63 | 63 | ||
64 | using Opie::Core::OApplicationFactory; | 64 | using Opie::Core::OApplicationFactory; |
65 | OPIE_EXPORT_APP( OApplicationFactory<Todo::MainWindow> ) | 65 | OPIE_EXPORT_APP( OApplicationFactory<Todo::MainWindow> ) |
66 | 66 | ||
67 | using namespace Opie; | 67 | using namespace Opie; |
68 | using namespace Todo; | 68 | using namespace Todo; |
69 | 69 | ||
70 | MainWindow::MainWindow( QWidget* parent, | 70 | MainWindow::MainWindow( QWidget* parent, |
71 | const char* name, WFlags ) | 71 | const char* name, WFlags ) |
72 | : Opie::OPimMainWindow( "Todolist", tr( "Todo List" ), "Todo List", tr( "Task" ), "todo", | 72 | : Opie::OPimMainWindow( "Todolist", "Todo List", tr( "Task" ), "todo", |
73 | parent, name, WType_TopLevel | WStyle_ContextHelp ) | 73 | parent, name, WType_TopLevel | WStyle_ContextHelp ) |
74 | { | 74 | { |
75 | setCaption( tr( "Todo List" ) ); | ||
75 | if (!name) | 76 | if (!name) |
76 | setName("todo window"); | 77 | setName("todo window"); |
77 | 78 | ||
78 | m_syncing = false; | 79 | m_syncing = false; |
79 | m_showing = false; | 80 | m_showing = false; |
80 | m_counter = 0; | 81 | m_counter = 0; |
81 | m_tempManager = new TemplateManager(); | 82 | m_tempManager = new TemplateManager(); |
82 | m_tempManager->load(); | 83 | m_tempManager->load(); |
83 | 84 | ||
84 | initConfig(); | 85 | initConfig(); |
85 | initUI(); | 86 | initUI(); |
86 | initViews(); | 87 | initViews(); |