author | alwin <alwin> | 2005-03-18 22:38:29 (UTC) |
---|---|---|
committer | alwin <alwin> | 2005-03-18 22:38:29 (UTC) |
commit | f4a7fe0ed1c1c9088552e47bb9b7e646221f8f66 (patch) (unidiff) | |
tree | 6677a9bd119357afb3eda18ba71e35f6d56bf372 /core/pim/datebook | |
parent | 541323f218d7fd114373133fea63dd99d3213ac8 (diff) | |
download | opie-f4a7fe0ed1c1c9088552e47bb9b7e646221f8f66.zip opie-f4a7fe0ed1c1c9088552e47bb9b7e646221f8f66.tar.gz opie-f4a7fe0ed1c1c9088552e47bb9b7e646221f8f66.tar.bz2 |
removed dummy holiday plugin 'cause not needed and does not build
-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 |
5 files changed, 0 insertions, 72 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 | |||
@@ -3,3 +3,2 @@ menu "Holiday Plugins" | |||
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 |
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 | ||