-rw-r--r-- | core/pim/datebook/holiday/config.in | 1 | ||||
-rw-r--r-- | core/pim/datebook/holiday/dummy/config.in | 4 | ||||
-rw-r--r-- | core/pim/datebook/holiday/dummy/dummy.pro | 20 | ||||
-rw-r--r-- | core/pim/datebook/holiday/dummy/dummyholiday.cpp | 28 | ||||
-rw-r--r-- | core/pim/datebook/holiday/dummy/dummyholiday.h | 19 | ||||
-rw-r--r-- | packages | 1 |
6 files changed, 0 insertions, 73 deletions
diff --git a/core/pim/datebook/holiday/config.in b/core/pim/datebook/holiday/config.in index a3ecd7b..d8aeb99 100644 --- a/core/pim/datebook/holiday/config.in +++ b/core/pim/datebook/holiday/config.in | |||
@@ -1,6 +1,5 @@ | |||
1 | menu "Holiday Plugins" | 1 | menu "Holiday Plugins" |
2 | source core/pim/datebook/holiday/birthday/config.in | 2 | source core/pim/datebook/holiday/birthday/config.in |
3 | source core/pim/datebook/holiday/christian/config.in | 3 | source core/pim/datebook/holiday/christian/config.in |
4 | source core/pim/datebook/holiday/dummy/config.in | ||
5 | source core/pim/datebook/holiday/national/config.in | 4 | source core/pim/datebook/holiday/national/config.in |
6 | endmenu | 5 | endmenu |
diff --git a/core/pim/datebook/holiday/dummy/config.in b/core/pim/datebook/holiday/dummy/config.in deleted file mode 100644 index ec85aa0..0000000 --- a/core/pim/datebook/holiday/dummy/config.in +++ b/dev/null | |||
@@ -1,4 +0,0 @@ | |||
1 | config DATEBOOK_DUMMY_HOLIDAY | ||
2 | boolean "opie-datebook-dummy-holidays" | ||
3 | default "n" | ||
4 | depends ( LIBQPE || LIBQPE-X11 ) && LIBOPIE2CORE && LIBOPIE2UI && LIBOPIE2PIM | ||
diff --git a/core/pim/datebook/holiday/dummy/dummy.pro b/core/pim/datebook/holiday/dummy/dummy.pro deleted file mode 100644 index 768bb77..0000000 --- a/core/pim/datebook/holiday/dummy/dummy.pro +++ b/dev/null | |||
@@ -1,20 +0,0 @@ | |||
1 | TEMPLATE = lib | ||
2 | CONFIG -= moc | ||
3 | CONFIG += qt plugin | ||
4 | |||
5 | # Input | ||
6 | HEADERS = dummyholiday.h | ||
7 | SOURCES = dummyholiday.cpp | ||
8 | INTERFACES= | ||
9 | |||
10 | INCLUDEPATH += $(OPIEDIR)/include \ | ||
11 | ../ ../library | ||
12 | DEPENDPATH += $(OPIEDIR)/include \ | ||
13 | ../ ../library | ||
14 | |||
15 | LIBS+= -lqpe -lopiecore2 -lopieui2 | ||
16 | |||
17 | DESTDIR = $(OPIEDIR)/plugins/datebook/holiday | ||
18 | TARGET = dummyholidayplugin | ||
19 | |||
20 | include( $(OPIEDIR)/include.pro ) | ||
diff --git a/core/pim/datebook/holiday/dummy/dummyholiday.cpp b/core/pim/datebook/holiday/dummy/dummyholiday.cpp deleted file mode 100644 index 6429a8f..0000000 --- a/core/pim/datebook/holiday/dummy/dummyholiday.cpp +++ b/dev/null | |||
@@ -1,28 +0,0 @@ | |||
1 | #include "dummyholiday.h" | ||
2 | |||
3 | #include <qobject.h> | ||
4 | |||
5 | QString DummyHoliday::description() | ||
6 | { | ||
7 | return QObject::tr("Test holiday plugin","dummyholiday"); | ||
8 | } | ||
9 | |||
10 | QStringList DummyHoliday::entries(const QDate&aDate) | ||
11 | { | ||
12 | return entries(0,0,aDate.day()); | ||
13 | } | ||
14 | |||
15 | QStringList DummyHoliday::entries(unsigned year, unsigned month, unsigned day) | ||
16 | { | ||
17 | QStringList ret; | ||
18 | if (day%2==0) ret.append(QObject::tr("You have a holiday!","dummyholiday")); | ||
19 | return ret; | ||
20 | } | ||
21 | |||
22 | QMap<QDate,QStringList> DummyHoliday::entries(const QDate&,const QDate&) | ||
23 | { | ||
24 | QMap<QDate,QStringList> ret; | ||
25 | return ret; | ||
26 | } | ||
27 | |||
28 | EXPORT_HOLIDAY_PLUGIN(DummyHoliday); | ||
diff --git a/core/pim/datebook/holiday/dummy/dummyholiday.h b/core/pim/datebook/holiday/dummy/dummyholiday.h deleted file mode 100644 index 7d86b20..0000000 --- a/core/pim/datebook/holiday/dummy/dummyholiday.h +++ b/dev/null | |||
@@ -1,19 +0,0 @@ | |||
1 | #ifndef __DUMMY_HOLIDAY_H | ||
2 | #define __DUMMY_HOLIDAY_H | ||
3 | |||
4 | #include <opie2/oholidayplugin.h> | ||
5 | #include <opie2/oholidaypluginif.h> | ||
6 | |||
7 | class DummyHoliday:public Opie::Datebook::HolidayPlugin | ||
8 | { | ||
9 | public: | ||
10 | DummyHoliday():Opie::Datebook::HolidayPlugin(){} | ||
11 | virtual ~DummyHoliday(){} | ||
12 | |||
13 | virtual QString description(); | ||
14 | virtual QStringList entries(const QDate&); | ||
15 | virtual QStringList entries(unsigned year, unsigned month, unsigned day); | ||
16 | virtual QMap<QDate,QStringList> entries(const QDate&,const QDate&); | ||
17 | }; | ||
18 | |||
19 | #endif | ||
@@ -31,13 +31,12 @@ CONFIG_CONFEDIT noncore/apps/confedit confedit.pro | |||
31 | CONFIG_DAGGER noncore/apps/dagger dagger.pro | 31 | CONFIG_DAGGER noncore/apps/dagger dagger.pro |
32 | CONFIG_DASHER inputmethods/dasherdasher.pro | 32 | CONFIG_DASHER inputmethods/dasherdasher.pro |
33 | CONFIG_DATEBOOK2 core/pim/datebook2datebook2.pro | 33 | CONFIG_DATEBOOK2 core/pim/datebook2datebook2.pro |
34 | CONFIG_DATEBOOK core/pim/datebookdatebook.pro | 34 | CONFIG_DATEBOOK core/pim/datebookdatebook.pro |
35 | CONFIG_DATEBOOK_BIRTHDAYS_HOLIDAY core/pim/datebook/holiday/birthday birthdays.pro | 35 | CONFIG_DATEBOOK_BIRTHDAYS_HOLIDAY core/pim/datebook/holiday/birthday birthdays.pro |
36 | CONFIG_DATEBOOK_CHRISTIAN_HOLIDAY core/pim/datebook/holiday/christian christian-holidays.pro | 36 | CONFIG_DATEBOOK_CHRISTIAN_HOLIDAY core/pim/datebook/holiday/christian christian-holidays.pro |
37 | CONFIG_DATEBOOK_DUMMY_HOLIDAY core/pim/datebook/holiday/dummy dummy.pro | ||
38 | CONFIG_DATEBOOK_NATIONAL_HOLIDAY core/pim/datebook/holiday/national national-holidays.pro | 37 | CONFIG_DATEBOOK_NATIONAL_HOLIDAY core/pim/datebook/holiday/national national-holidays.pro |
39 | CONFIG_DECO_FLAT noncore/decorations/flatflat.pro | 38 | CONFIG_DECO_FLAT noncore/decorations/flatflat.pro |
40 | CONFIG_DECO_LIQUID noncore/decorations/liquidliquid.pro | 39 | CONFIG_DECO_LIQUID noncore/decorations/liquidliquid.pro |
41 | CONFIG_DECO_POLISHED noncore/decorations/polishedpolished.pro | 40 | CONFIG_DECO_POLISHED noncore/decorations/polishedpolished.pro |
42 | CONFIG_DICTIONARY noncore/apps/dictionarydictionary.pro | 41 | CONFIG_DICTIONARY noncore/apps/dictionarydictionary.pro |
43 | CONFIG_DOCTAB noncore/settings/doctab doctab.pro | 42 | CONFIG_DOCTAB noncore/settings/doctab doctab.pro |