author | zecke <zecke> | 2004-11-18 21:52:24 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-11-18 21:52:24 (UTC) |
commit | c94afa23120bb72709973ae4711106e6e502fe65 (patch) (unidiff) | |
tree | 700cb234878fdfa18dbf9fd0157fcabc7758e455 /libopie2 | |
parent | 1e7f8f22fc10e3ed85b6563332ddc348c95792d0 (diff) | |
download | opie-c94afa23120bb72709973ae4711106e6e502fe65.zip opie-c94afa23120bb72709973ae4711106e6e502fe65.tar.gz opie-c94afa23120bb72709973ae4711106e6e502fe65.tar.bz2 |
Opie PIM Update (1/2 of it implemented)
-Update opiepim.pro to add new files
-Provide a stable precompileable headerfile
-rw-r--r-- | libopie2/opiepim/opiepim.pro | 3 | ||||
-rw-r--r-- | libopie2/opiepim/stable_pch.h | 53 | ||||
-rw-r--r-- | libopie2/opiepim/ui/opimmainwindow.cpp | 1 |
3 files changed, 56 insertions, 1 deletions
diff --git a/libopie2/opiepim/opiepim.pro b/libopie2/opiepim/opiepim.pro index af8e63d..992fb8b 100644 --- a/libopie2/opiepim/opiepim.pro +++ b/libopie2/opiepim/opiepim.pro | |||
@@ -12,8 +12,11 @@ LIBS += -lopiecore2 | |||
12 | include ( $(OPIEDIR)/gen.pro ) | 12 | include ( $(OPIEDIR)/gen.pro ) |
13 | include ( core/core.pro ) | 13 | include ( core/core.pro ) |
14 | include ( backend/backends.pro ) | 14 | include ( backend/backends.pro ) |
15 | include ( ui/ui.pro ) | 15 | include ( ui/ui.pro ) |
16 | include ( private/private.pro ) | ||
17 | |||
18 | PRECOMPILED_HEADER = stable_pch.h | ||
16 | 19 | ||
17 | !contains( platform, x11 ) { | 20 | !contains( platform, x11 ) { |
18 | include ( $(OPIEDIR)/include.pro ) | 21 | include ( $(OPIEDIR)/include.pro ) |
19 | } | 22 | } |
diff --git a/libopie2/opiepim/stable_pch.h b/libopie2/opiepim/stable_pch.h new file mode 100644 index 0000000..ea4d0d1 --- a/dev/null +++ b/libopie2/opiepim/stable_pch.h | |||
@@ -0,0 +1,53 @@ | |||
1 | #if defined __cplusplus | ||
2 | |||
3 | #include "core/ocontactaccess.h" | ||
4 | #include "core/odatebookaccess.h" | ||
5 | #include "core/opimaccessfactory.h" | ||
6 | #include "core/opimaccesstemplate.h" | ||
7 | #include "core/opimcache.h" | ||
8 | #include "core/opimcontactfields.h" | ||
9 | #include "core/opimcontact.h" | ||
10 | #include "core/opimdateconversion.h" | ||
11 | #include "core/opimevent.h" | ||
12 | #include "core/opimglobal.h" | ||
13 | #include "core/opimmaintainer.h" | ||
14 | #include "core/opimnotify.h" | ||
15 | #include "core/opimnotifymanager.h" | ||
16 | #include "core/opimoccurrence.h" | ||
17 | #include "core/opimrecord.h" | ||
18 | #include "core/opimrecordlist.h" | ||
19 | #include "core/opimrecurrence.h" | ||
20 | #include "core/opimresolver.h" | ||
21 | #include "core/opimstate.h" | ||
22 | #include "core/opimtemplatebase.h" | ||
23 | #include "core/opimtimezone.h" | ||
24 | #include "core/opimtodo.h" | ||
25 | #include "core/opimxref.h" | ||
26 | #include "core/opimxrefmanager.h" | ||
27 | #include "core/opimxrefpartner.h" | ||
28 | #include "core/otodoaccess.h" | ||
29 | #include "backend/obackendfactory.h" | ||
30 | #include "backend/ocontactaccessbackend.h" | ||
31 | #include "backend/ocontactaccessbackend_vcard.h" | ||
32 | #include "backend/ocontactaccessbackend_xml.h" | ||
33 | #include "backend/odatebookaccessbackend.h" | ||
34 | #include "backend/odatebookaccessbackend_xml.h" | ||
35 | #include "backend/opimaccessbackend.h" | ||
36 | #include "backend/opimbackendoccurrence.h" | ||
37 | #include "backend/otodoaccessbackend.h" | ||
38 | #include "backend/otodoaccessvcal.h" | ||
39 | #include "backend/otodoaccessxml.h" | ||
40 | #include "backend/otodoaccesssql.h" | ||
41 | #include "backend/ocontactaccessbackend_sql.h" | ||
42 | #include "backend/odatebookaccessbackend_sql.h" | ||
43 | #include "ui/opimmainwindow.h" | ||
44 | #include "ui/opimrecurrencewidget.h" | ||
45 | #include "ui/todayconfigwidget.h" | ||
46 | #include "ui/todayplugininterface.h" | ||
47 | #include "private/vobject_p.h" | ||
48 | #include "private/opimoccurrence_p.h" | ||
49 | #include "private/opimsortvector.h" | ||
50 | #include "private/opimtodosortvector.h" | ||
51 | |||
52 | |||
53 | #endif | ||
diff --git a/libopie2/opiepim/ui/opimmainwindow.cpp b/libopie2/opiepim/ui/opimmainwindow.cpp index 8ce2062..058a428 100644 --- a/libopie2/opiepim/ui/opimmainwindow.cpp +++ b/libopie2/opiepim/ui/opimmainwindow.cpp | |||
@@ -122,9 +122,8 @@ void OPimMainWindow::appMessage( const QCString& cmd, const QByteArray& array ) | |||
122 | raise(); | 122 | raise(); |
123 | QDateTime dt; int uid; | 123 | QDateTime dt; int uid; |
124 | stream >> dt; | 124 | stream >> dt; |
125 | stream >> uid; | 125 | stream >> uid; |
126 | owarn << " Date: " << dt.toString() << " Uid: " << uid << "" << oendl; | ||
127 | QDateTime current = QDateTime::currentDateTime(); | 126 | QDateTime current = QDateTime::currentDateTime(); |
128 | if ( current.time().hour() != dt.time().hour() && current.time().minute() != dt.time().minute() ) | 127 | if ( current.time().hour() != dt.time().hour() && current.time().minute() != dt.time().minute() ) |
129 | return; | 128 | return; |
130 | doAlarm( dt, uid ); | 129 | doAlarm( dt, uid ); |