summaryrefslogtreecommitdiff
path: root/core/pim
authoralwin <alwin>2005-03-18 22:38:29 (UTC)
committer alwin <alwin>2005-03-18 22:38:29 (UTC)
commitf4a7fe0ed1c1c9088552e47bb9b7e646221f8f66 (patch) (side-by-side diff)
tree6677a9bd119357afb3eda18ba71e35f6d56bf372 /core/pim
parent541323f218d7fd114373133fea63dd99d3213ac8 (diff)
downloadopie-f4a7fe0ed1c1c9088552e47bb9b7e646221f8f66.zip
opie-f4a7fe0ed1c1c9088552e47bb9b7e646221f8f66.tar.gz
opie-f4a7fe0ed1c1c9088552e47bb9b7e646221f8f66.tar.bz2
removed dummy holiday plugin 'cause not needed and does not build
Diffstat (limited to 'core/pim') (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
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
@@ -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