author | zecke <zecke> | 2004-11-18 21:52:24 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-11-18 21:52:24 (UTC) |
commit | c94afa23120bb72709973ae4711106e6e502fe65 (patch) (side-by-side diff) | |
tree | 700cb234878fdfa18dbf9fd0157fcabc7758e455 | |
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 @@ -4,20 +4,23 @@ DESTDIR = $(OPIEDIR)/lib INTERFACES = TARGET = opiepim2 VERSION = 1.8.6 INCLUDEPATH += $(OPIEDIR)/include DEPENDPATH += $(OPIEDIR)/include LIBS += -lopiecore2 include ( $(OPIEDIR)/gen.pro ) include ( core/core.pro ) include ( backend/backends.pro ) include ( ui/ui.pro ) +include ( private/private.pro ) + +PRECOMPILED_HEADER = stable_pch.h !contains( platform, x11 ) { include ( $(OPIEDIR)/include.pro ) } contains( platform, x11 ) { LIBS = -L$(OPIEDIR)/lib -Wl,-rpath,$(OPIEDIR)/lib } 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 @@ +#if defined __cplusplus + +#include "core/ocontactaccess.h" +#include "core/odatebookaccess.h" +#include "core/opimaccessfactory.h" +#include "core/opimaccesstemplate.h" +#include "core/opimcache.h" +#include "core/opimcontactfields.h" +#include "core/opimcontact.h" +#include "core/opimdateconversion.h" +#include "core/opimevent.h" +#include "core/opimglobal.h" +#include "core/opimmaintainer.h" +#include "core/opimnotify.h" +#include "core/opimnotifymanager.h" +#include "core/opimoccurrence.h" +#include "core/opimrecord.h" +#include "core/opimrecordlist.h" +#include "core/opimrecurrence.h" +#include "core/opimresolver.h" +#include "core/opimstate.h" +#include "core/opimtemplatebase.h" +#include "core/opimtimezone.h" +#include "core/opimtodo.h" +#include "core/opimxref.h" +#include "core/opimxrefmanager.h" +#include "core/opimxrefpartner.h" +#include "core/otodoaccess.h" +#include "backend/obackendfactory.h" +#include "backend/ocontactaccessbackend.h" +#include "backend/ocontactaccessbackend_vcard.h" +#include "backend/ocontactaccessbackend_xml.h" +#include "backend/odatebookaccessbackend.h" +#include "backend/odatebookaccessbackend_xml.h" +#include "backend/opimaccessbackend.h" +#include "backend/opimbackendoccurrence.h" +#include "backend/otodoaccessbackend.h" +#include "backend/otodoaccessvcal.h" +#include "backend/otodoaccessxml.h" +#include "backend/otodoaccesssql.h" +#include "backend/ocontactaccessbackend_sql.h" +#include "backend/odatebookaccessbackend_sql.h" +#include "ui/opimmainwindow.h" +#include "ui/opimrecurrencewidget.h" +#include "ui/todayconfigwidget.h" +#include "ui/todayplugininterface.h" +#include "private/vobject_p.h" +#include "private/opimoccurrence_p.h" +#include "private/opimsortvector.h" +#include "private/opimtodosortvector.h" + + +#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 @@ -114,25 +114,24 @@ void OPimMainWindow::appMessage( const QCString& cmd, const QByteArray& array ) QByteArray array; stream >> rtti; stream >> array; m_fallBack = record(rtti, array ); if (!m_fallBack) return; add( *m_fallBack ); delete m_fallBack; }else if ( cmd == "alarm(QDateTime,int)" ) { raise(); QDateTime dt; int uid; stream >> dt; stream >> uid; - owarn << " Date: " << dt.toString() << " Uid: " << uid << "" << oendl; QDateTime current = QDateTime::currentDateTime(); if ( current.time().hour() != dt.time().hour() && current.time().minute() != dt.time().minute() ) return; doAlarm( dt, uid ); needShow = true; } if (needShow ) QPEApplication::setKeepRunning(); } /* implement the url scripting here */ void OPimMainWindow::setDocument( const QString& str) { |