author | eilers <eilers> | 2003-08-01 14:22:29 (UTC) |
---|---|---|
committer | eilers <eilers> | 2003-08-01 14:22:29 (UTC) |
commit | 7d51872c86155fbbf27aeb8e49e7a336d909caac (patch) (unidiff) | |
tree | 55ecf3452d6711065e36c6bceab8ec52bd5525d8 /core/pim/todo/main.cpp | |
parent | 34991bac7d96b1c17601be6a5607819342571e0c (diff) | |
download | opie-7d51872c86155fbbf27aeb8e49e7a336d909caac.zip opie-7d51872c86155fbbf27aeb8e49e7a336d909caac.tar.gz opie-7d51872c86155fbbf27aeb8e49e7a336d909caac.tar.bz2 |
Merging changes from BRANCH_1_0 to HEAD
-rw-r--r-- | core/pim/todo/main.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/pim/todo/main.cpp b/core/pim/todo/main.cpp index 58ed45c..7763169 100644 --- a/core/pim/todo/main.cpp +++ b/core/pim/todo/main.cpp | |||
@@ -18,13 +18,12 @@ | |||
18 | ** | 18 | ** |
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | 20 | ||
21 | #include "mainwindow.h" | 21 | #include "mainwindow.h" |
22 | 22 | ||
23 | 23 | ||
24 | #include <qdatetime.h> | ||
25 | 24 | ||
26 | #include <qpe/qpeapplication.h> | 25 | #include <qpe/qpeapplication.h> |
27 | 26 | ||
28 | void myMessages( QtMsgType, const char* ) { | 27 | void myMessages( QtMsgType, const char* ) { |
29 | 28 | ||
30 | } | 29 | } |
@@ -36,13 +35,13 @@ int main( int argc, char **argv ) | |||
36 | 35 | ||
37 | QTime time; | 36 | QTime time; |
38 | time.start(); | 37 | time.start(); |
39 | Todo::MainWindow mw; | 38 | Todo::MainWindow mw; |
40 | int t = time.elapsed(); | 39 | int t = time.elapsed(); |
41 | qWarning("QTime %d", t/1000 ); | 40 | qWarning("QTime %d", t/1000 ); |
42 | mw.setCaption("Opie Todolist"); | 41 | mw.setCaption( QObject::tr("Opie Todolist")); |
43 | QObject::connect( &a, SIGNAL( flush() ), &mw, SLOT( slotFlush() ) ); | 42 | QObject::connect( &a, SIGNAL( flush() ), &mw, SLOT( slotFlush() ) ); |
44 | QObject::connect( &a, SIGNAL( reload() ), &mw, SLOT( slotReload() ) ); | 43 | QObject::connect( &a, SIGNAL( reload() ), &mw, SLOT( slotReload() ) ); |
45 | 44 | ||
46 | a.showMainWidget(&mw); | 45 | a.showMainWidget(&mw); |
47 | 46 | ||
48 | return a.exec(); | 47 | return a.exec(); |