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