summaryrefslogtreecommitdiff
path: root/core/pim/todo/main.cpp
Unidiff
Diffstat (limited to 'core/pim/todo/main.cpp') (more/less context) (ignore 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
@@ -12,38 +12,37 @@
12** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 12** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
13** 13**
14** See http://www.trolltech.com/gpl/ for GPL licensing information. 14** See http://www.trolltech.com/gpl/ for GPL licensing information.
15** 15**
16** Contact info@trolltech.com if any conditions of this licensing are 16** Contact info@trolltech.com if any conditions of this licensing are
17** not clear to you. 17** not clear to you.
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}
31 30
32int main( int argc, char **argv ) 31int main( int argc, char **argv )
33{ 32{
34 qInstallMsgHandler( myMessages ); 33 qInstallMsgHandler( myMessages );
35 QPEApplication a( argc, argv ); 34 QPEApplication a( argc, 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();
49} 48}