author | harlekin <harlekin> | 2002-09-15 21:13:47 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-09-15 21:13:47 (UTC) |
commit | 87cd421d72df1d7706925285a48c008007471310 (patch) (unidiff) | |
tree | eb7805bd6702f2820aac159baa4a9c5592a52ee4 /core/pim/today/plugins/datebook/datebookplugin.cpp | |
parent | 251fd5b1687994c30e8bea1091e893468086223f (diff) | |
download | opie-87cd421d72df1d7706925285a48c008007471310.zip opie-87cd421d72df1d7706925285a48c008007471310.tar.gz opie-87cd421d72df1d7706925285a48c008007471310.tar.bz2 |
plugins for the new today
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.cpp | 73 |
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 | |||
30 | DatebookPlugin::DatebookPlugin() { | ||
31 | } | ||
32 | |||
33 | DatebookPlugin::~DatebookPlugin() { | ||
34 | } | ||
35 | |||
36 | QString DatebookPlugin::pluginName() const { | ||
37 | return "Datebook plugin"; | ||
38 | } | ||
39 | |||
40 | double DatebookPlugin::versionNumber() const { | ||
41 | return 0.1; | ||
42 | } | ||
43 | |||
44 | QString DatebookPlugin::pixmapNameWidget() const { | ||
45 | return "DateBook"; | ||
46 | } | ||
47 | |||
48 | QWidget* DatebookPlugin::widget( QWidget* wid ) { | ||
49 | return new DatebookPluginWidget( wid, "Datebook" ); | ||
50 | } | ||
51 | |||
52 | QString DatebookPlugin::pixmapNameConfig() const { | ||
53 | return "DateBook"; | ||
54 | } | ||
55 | |||
56 | ConfigWidget* DatebookPlugin::configWidget( QWidget* wid ) { | ||
57 | return new DatebookPluginConfig( wid , "Datebook" ); | ||
58 | } | ||
59 | |||
60 | QString DatebookPlugin::appName() const { | ||
61 | return "datebook"; | ||
62 | } | ||
63 | |||
64 | int DatebookPlugin::minHeight() const { | ||
65 | return 10; | ||
66 | } | ||
67 | |||
68 | int DatebookPlugin::maxHeight() const { | ||
69 | return 100; | ||
70 | } | ||
71 | |||
72 | |||
73 | |||