summaryrefslogtreecommitdiff
path: root/core/pim/datebook/datebooktypes.h
authoralwin <alwin>2005-03-19 13:44:30 (UTC)
committer alwin <alwin>2005-03-19 13:44:30 (UTC)
commit34e42590a8ef21c1377f89c7b82f25bcf0aec3cb (patch) (unidiff)
treef5afdae31945ca2bac7339a339499fa87ece50d9 /core/pim/datebook/datebooktypes.h
parentd9e8b9e797e3162ab564bb3b0f04663ef1167541 (diff)
downloadopie-34e42590a8ef21c1377f89c7b82f25bcf0aec3cb.zip
opie-34e42590a8ef21c1377f89c7b82f25bcf0aec3cb.tar.gz
opie-34e42590a8ef21c1377f89c7b82f25bcf0aec3cb.tar.bz2
so....
I looked for a problem. could not found due the kind of code structure. so I had reorganized the code into a more sensefull structure so every one should be able to find some code sequences when searching for a bug. yes - now I found the problem and can thinking about resolving it.
Diffstat (limited to 'core/pim/datebook/datebooktypes.h') (more/less context) (show whitespace changes)
-rw-r--r--core/pim/datebook/datebooktypes.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/pim/datebook/datebooktypes.h b/core/pim/datebook/datebooktypes.h
index 2966814..9453be8 100644
--- a/core/pim/datebook/datebooktypes.h
+++ b/core/pim/datebook/datebooktypes.h
@@ -1,45 +1,48 @@
1#ifndef _DATEBOOK_TYPES_H 1#ifndef _DATEBOOK_TYPES_H
2#define _DATEBOOK_TYPES_H 2#define _DATEBOOK_TYPES_H
3 3
4#include <qpe/datebookdb.h> 4#include <qpe/datebookdb.h>
5 5
6#include <qvaluelist.h> 6#include <qvaluelist.h>
7#include <qstringlist.h> 7#include <qstringlist.h>
8 8
9namespace Opie { 9namespace Opie {
10namespace Datebook { 10namespace Datebook {
11 class HolidayPlugin; 11 class HolidayPlugin;
12 class HolidayPluginIf; 12 class HolidayPluginIf;
13} 13}
14namespace Core { 14namespace Core {
15 class OPluginLoader; 15 class OPluginLoader;
16 class OPluginManager; 16 class OPluginManager;
17} 17}
18} 18}
19 19
20class QLibrary; 20class QLibrary;
21 21
22enum { DAY=1,WEEK,WEEKLST,MONTH }; // defaultView values
23enum { NONE=0,NORMAL,EXTENDED }; // WeekLstView's modes.
24
22class DateBookDBHack : virtual public DateBookDB { 25class DateBookDBHack : virtual public DateBookDB {
23 public: 26 public:
24 virtual ~DateBookDBHack(){} 27 virtual ~DateBookDBHack(){}
25 Event eventByUID(int id); 28 Event eventByUID(int id);
26}; 29};
27 30
28class DateBookHoliday 31class DateBookHoliday
29{ 32{
30public: 33public:
31 DateBookHoliday(); 34 DateBookHoliday();
32 virtual ~DateBookHoliday(); 35 virtual ~DateBookHoliday();
33 36
34 QStringList holidaylist(const QDate&); 37 QStringList holidaylist(const QDate&);
35 QStringList holidaylist(unsigned year, unsigned month, unsigned day); 38 QStringList holidaylist(unsigned year, unsigned month, unsigned day);
36 virtual QValueList<EffectiveEvent> getEffectiveEvents(const QDate &from,const QDate &to ); 39 virtual QValueList<EffectiveEvent> getEffectiveEvents(const QDate &from,const QDate &to );
37 virtual QValueList<EffectiveEvent> getEffectiveEvents(const QDateTime &start); 40 virtual QValueList<EffectiveEvent> getEffectiveEvents(const QDateTime &start);
38 41
39 void reloadPlugins(); 42 void reloadPlugins();
40 43
41 Opie::Core::OPluginLoader*pluginLoader(){return m_pluginLoader;} 44 Opie::Core::OPluginLoader*pluginLoader(){return m_pluginLoader;}
42 Opie::Core::OPluginManager*pluginManager(){return m_pluginManager;} 45 Opie::Core::OPluginManager*pluginManager(){return m_pluginManager;}
43 46
44protected: 47protected:
45 void init(); 48 void init();