summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/datebook/datebook.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/pim/datebook/datebook.cpp b/core/pim/datebook/datebook.cpp
index c23129a..8614b3f 100644
--- a/core/pim/datebook/datebook.cpp
+++ b/core/pim/datebook/datebook.cpp
@@ -26,64 +26,65 @@
26#include "datebookday.h" 26#include "datebookday.h"
27#include "datebooksettings.h" 27#include "datebooksettings.h"
28#include "datebookweek.h" 28#include "datebookweek.h"
29#include "datebookweeklst.h" 29#include "datebookweeklst.h"
30#include "dateentryimpl.h" 30#include "dateentryimpl.h"
31 31
32#include <qpe/datebookmonth.h> 32#include <qpe/datebookmonth.h>
33#include <qpe/qpeapplication.h> 33#include <qpe/qpeapplication.h>
34#include <qpe/config.h> 34#include <qpe/config.h>
35#include <qpe/qpedebug.h> 35#include <qpe/qpedebug.h>
36#include <qpe/event.h> 36#include <qpe/event.h>
37#include <qpe/finddialog.h> 37#include <qpe/finddialog.h>
38#include <qpe/ir.h> 38#include <qpe/ir.h>
39#include <qpe/qpemenubar.h> 39#include <qpe/qpemenubar.h>
40#include <qpe/qpemessagebox.h> 40#include <qpe/qpemessagebox.h>
41#include <qpe/resource.h> 41#include <qpe/resource.h>
42#include <qpe/sound.h> 42#include <qpe/sound.h>
43#include <qpe/timestring.h> 43#include <qpe/timestring.h>
44#include <qpe/qpetoolbar.h> 44#include <qpe/qpetoolbar.h>
45#include <qpe/tzselect.h> 45#include <qpe/tzselect.h>
46#include <qpe/xmlreader.h> 46#include <qpe/xmlreader.h>
47 47
48#include <qaction.h> 48#include <qaction.h>
49#include <qcopchannel_qws.h> 49#include <qcopchannel_qws.h>
50#include <qdatetime.h> 50#include <qdatetime.h>
51#include <qdialog.h> 51#include <qdialog.h>
52#include <qfile.h> 52#include <qfile.h>
53#include <qlabel.h> 53#include <qlabel.h>
54#include <qlayout.h> 54#include <qlayout.h>
55#include <qmessagebox.h> 55#include <qmessagebox.h>
56#include <qpopupmenu.h> 56#include <qpopupmenu.h>
57#include <qpushbutton.h> 57#include <qpushbutton.h>
58#include <qregexp.h>
58#include <qtextcodec.h> 59#include <qtextcodec.h>
59#include <qtextstream.h> 60#include <qtextstream.h>
60#include <qtl.h> 61#include <qtl.h>
61#include <qwidgetstack.h> 62#include <qwidgetstack.h>
62#include <qwindowsystem_qws.h> 63#include <qwindowsystem_qws.h>
63 64
64#include <sys/stat.h> 65#include <sys/stat.h>
65#include <sys/types.h> 66#include <sys/types.h>
66#include <fcntl.h> 67#include <fcntl.h>
67#include <unistd.h> 68#include <unistd.h>
68 69
69#include <stdlib.h> 70#include <stdlib.h>
70 71
71#define DAY 1 72#define DAY 1
72#define WEEK 2 73#define WEEK 2
73#define WEEKLST 4 74#define WEEKLST 4
74#define MONTH 3 75#define MONTH 3
75 76
76 77
77DateBook::DateBook( QWidget *parent, const char *, WFlags f ) 78DateBook::DateBook( QWidget *parent, const char *, WFlags f )
78 : QMainWindow( parent, "datebook", f ), 79 : QMainWindow( parent, "datebook", f ),
79 aPreset( FALSE ), 80 aPreset( FALSE ),
80 presetTime( -1 ), 81 presetTime( -1 ),
81 startTime( 8 ), // an acceptable default 82 startTime( 8 ), // an acceptable default
82 syncing(FALSE), 83 syncing(FALSE),
83 inSearch(FALSE) 84 inSearch(FALSE)
84{ 85{
85 QTime t; 86 QTime t;
86 t.start(); 87 t.start();
87 db = new DateBookDBHack; 88 db = new DateBookDBHack;
88 qDebug("loading db t=%d", t.elapsed() ); 89 qDebug("loading db t=%d", t.elapsed() );
89 loadSettings(); 90 loadSettings();