summaryrefslogtreecommitdiff
Side-by-side diff
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 @@
menu "Holiday Plugins"
source core/pim/datebook/holiday/birthday/config.in
source core/pim/datebook/holiday/christian/config.in
- source core/pim/datebook/holiday/dummy/config.in
source core/pim/datebook/holiday/national/config.in
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 @@
- config DATEBOOK_DUMMY_HOLIDAY
- boolean "opie-datebook-dummy-holidays"
- default "n"
- 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 @@
-TEMPLATE = lib
-CONFIG -= moc
-CONFIG += qt plugin
-
-# Input
-HEADERS = dummyholiday.h
-SOURCES = dummyholiday.cpp
-INTERFACES=
-
-INCLUDEPATH += $(OPIEDIR)/include \
- ../ ../library
-DEPENDPATH += $(OPIEDIR)/include \
- ../ ../library
-
-LIBS+= -lqpe -lopiecore2 -lopieui2
-
-DESTDIR = $(OPIEDIR)/plugins/datebook/holiday
-TARGET = dummyholidayplugin
-
-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 @@
-#include "dummyholiday.h"
-
-#include <qobject.h>
-
-QString DummyHoliday::description()
-{
- return QObject::tr("Test holiday plugin","dummyholiday");
-}
-
-QStringList DummyHoliday::entries(const QDate&aDate)
-{
- return entries(0,0,aDate.day());
-}
-
-QStringList DummyHoliday::entries(unsigned year, unsigned month, unsigned day)
-{
- QStringList ret;
- if (day%2==0) ret.append(QObject::tr("You have a holiday!","dummyholiday"));
- return ret;
-}
-
-QMap<QDate,QStringList> DummyHoliday::entries(const QDate&,const QDate&)
-{
- QMap<QDate,QStringList> ret;
- return ret;
-}
-
-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 @@
-#ifndef __DUMMY_HOLIDAY_H
-#define __DUMMY_HOLIDAY_H
-
-#include <opie2/oholidayplugin.h>
-#include <opie2/oholidaypluginif.h>
-
-class DummyHoliday:public Opie::Datebook::HolidayPlugin
-{
-public:
- DummyHoliday():Opie::Datebook::HolidayPlugin(){}
- virtual ~DummyHoliday(){}
-
- virtual QString description();
- virtual QStringList entries(const QDate&);
- virtual QStringList entries(unsigned year, unsigned month, unsigned day);
- virtual QMap<QDate,QStringList> entries(const QDate&,const QDate&);
-};
-
-#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
CONFIG_DATEBOOK core/pim/datebook datebook.pro
CONFIG_DATEBOOK_BIRTHDAYS_HOLIDAY core/pim/datebook/holiday/birthday birthdays.pro
CONFIG_DATEBOOK_CHRISTIAN_HOLIDAY core/pim/datebook/holiday/christian christian-holidays.pro
-CONFIG_DATEBOOK_DUMMY_HOLIDAY core/pim/datebook/holiday/dummy dummy.pro
CONFIG_DATEBOOK_NATIONAL_HOLIDAY core/pim/datebook/holiday/national national-holidays.pro
CONFIG_DECO_FLAT noncore/decorations/flat flat.pro
CONFIG_DECO_LIQUID noncore/decorations/liquid liquid.pro