-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 @@ -2,5 +2,4 @@ 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
@@ -35,5 +35,4 @@ 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 |