summaryrefslogtreecommitdiff
path: root/core/pim/today/plugins/datebook/datebookplugin.cpp
Unidiff
Diffstat (limited to 'core/pim/today/plugins/datebook/datebookplugin.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/today/plugins/datebook/datebookplugin.cpp73
1 files changed, 73 insertions, 0 deletions
diff --git a/core/pim/today/plugins/datebook/datebookplugin.cpp b/core/pim/today/plugins/datebook/datebookplugin.cpp
new file mode 100644
index 0000000..d2a73df
--- a/dev/null
+++ b/core/pim/today/plugins/datebook/datebookplugin.cpp
@@ -0,0 +1,73 @@
1/*
2 * datebookplugin.cpp
3 *
4 * copyright : (c) 2002 by Maximilian Reiß
5 * email : harlekin@handhelds.org
6 *
7 */
8/***************************************************************************
9 * *
10 * This program is free software; you can redistribute it and/or modify *
11 * it under the terms of the GNU General Public License as published by *
12 * the Free Software Foundation; either version 2 of the License, or *
13 * (at your option) any later version. *
14 * *
15 ***************************************************************************/
16
17
18
19#include "datebookevent.h"
20#include "datebookplugin.h"
21#include "datebookpluginwidget.h"
22#include "datebookpluginconfig.h"
23
24#include "../../configwidget.h"
25
26#include <qpe/timestring.h>
27#include <qpe/config.h>
28
29
30DatebookPlugin::DatebookPlugin() {
31}
32
33DatebookPlugin::~DatebookPlugin() {
34}
35
36QString DatebookPlugin::pluginName() const {
37 return "Datebook plugin";
38}
39
40double DatebookPlugin::versionNumber() const {
41 return 0.1;
42}
43
44QString DatebookPlugin::pixmapNameWidget() const {
45 return "DateBook";
46}
47
48QWidget* DatebookPlugin::widget( QWidget* wid ) {
49 return new DatebookPluginWidget( wid, "Datebook" );
50}
51
52QString DatebookPlugin::pixmapNameConfig() const {
53 return "DateBook";
54}
55
56ConfigWidget* DatebookPlugin::configWidget( QWidget* wid ) {
57 return new DatebookPluginConfig( wid , "Datebook" );
58}
59
60QString DatebookPlugin::appName() const {
61 return "datebook";
62}
63
64int DatebookPlugin::minHeight() const {
65 return 10;
66}
67
68int DatebookPlugin::maxHeight() const {
69 return 100;
70}
71
72
73