summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/datebook/holiday/config.in1
-rw-r--r--core/pim/datebook/holiday/dummy/config.in4
-rw-r--r--core/pim/datebook/holiday/dummy/dummy.pro20
-rw-r--r--core/pim/datebook/holiday/dummy/dummyholiday.cpp28
-rw-r--r--core/pim/datebook/holiday/dummy/dummyholiday.h19
-rw-r--r--packages1
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 @@
1menu "Holiday Plugins" 1menu "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
6endmenu 5endmenu
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 @@
1TEMPLATE = lib
2CONFIG -= moc
3CONFIG += qt plugin
4
5# Input
6HEADERS = dummyholiday.h
7SOURCES = dummyholiday.cpp
8INTERFACES=
9
10INCLUDEPATH += $(OPIEDIR)/include \
11 ../ ../library
12DEPENDPATH += $(OPIEDIR)/include \
13 ../ ../library
14
15LIBS+= -lqpe -lopiecore2 -lopieui2
16
17DESTDIR = $(OPIEDIR)/plugins/datebook/holiday
18TARGET = dummyholidayplugin
19
20include( $(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
5QString DummyHoliday::description()
6{
7 return QObject::tr("Test holiday plugin","dummyholiday");
8}
9
10QStringList DummyHoliday::entries(const QDate&aDate)
11{
12 return entries(0,0,aDate.day());
13}
14
15QStringList 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
22QMap<QDate,QStringList> DummyHoliday::entries(const QDate&,const QDate&)
23{
24 QMap<QDate,QStringList> ret;
25 return ret;
26}
27
28EXPORT_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
7class DummyHoliday:public Opie::Datebook::HolidayPlugin
8{
9public:
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
diff --git a/packages b/packages
index c4b1942..6f70097 100644
--- a/packages
+++ b/packages
@@ -34,7 +34,6 @@ CONFIG_DATEBOOK2 core/pim/datebook2 datebook2.pro
34 CONFIG_DATEBOOK core/pim/datebookdatebook.pro 34 CONFIG_DATEBOOK core/pim/datebookdatebook.pro
35CONFIG_DATEBOOK_BIRTHDAYS_HOLIDAY core/pim/datebook/holiday/birthday birthdays.pro 35CONFIG_DATEBOOK_BIRTHDAYS_HOLIDAY core/pim/datebook/holiday/birthday birthdays.pro
36CONFIG_DATEBOOK_CHRISTIAN_HOLIDAY core/pim/datebook/holiday/christian christian-holidays.pro 36CONFIG_DATEBOOK_CHRISTIAN_HOLIDAY core/pim/datebook/holiday/christian christian-holidays.pro
37CONFIG_DATEBOOK_DUMMY_HOLIDAY core/pim/datebook/holiday/dummy dummy.pro
38CONFIG_DATEBOOK_NATIONAL_HOLIDAY core/pim/datebook/holiday/national national-holidays.pro 37CONFIG_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