summaryrefslogtreecommitdiff
path: root/core/pim/todo/main.cpp
Unidiff
Diffstat (limited to 'core/pim/todo/main.cpp') (more/less context) (show whitespace changes)
-rw-r--r--core/pim/todo/main.cpp3
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
28void myMessages( QtMsgType, const char* ) { 27void 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();