summaryrefslogtreecommitdiff
path: root/core/pim/today/plugins/todolist/todoplugin.cpp
authorharlekin <harlekin>2002-09-15 21:13:47 (UTC)
committer harlekin <harlekin>2002-09-15 21:13:47 (UTC)
commit87cd421d72df1d7706925285a48c008007471310 (patch) (unidiff)
treeeb7805bd6702f2820aac159baa4a9c5592a52ee4 /core/pim/today/plugins/todolist/todoplugin.cpp
parent251fd5b1687994c30e8bea1091e893468086223f (diff)
downloadopie-87cd421d72df1d7706925285a48c008007471310.zip
opie-87cd421d72df1d7706925285a48c008007471310.tar.gz
opie-87cd421d72df1d7706925285a48c008007471310.tar.bz2
plugins for the new today
Diffstat (limited to 'core/pim/today/plugins/todolist/todoplugin.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/today/plugins/todolist/todoplugin.cpp71
1 files changed, 71 insertions, 0 deletions
diff --git a/core/pim/today/plugins/todolist/todoplugin.cpp b/core/pim/today/plugins/todolist/todoplugin.cpp
new file mode 100644
index 0000000..f5f6ed6
--- a/dev/null
+++ b/core/pim/today/plugins/todolist/todoplugin.cpp
@@ -0,0 +1,71 @@
1/*
2 * todoplugin.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 "todoplugin.h"
20#include "todopluginconfig.h"
21#include "todopluginwidget.h"
22
23
24TodolistPlugin::TodolistPlugin() {
25}
26
27TodolistPlugin::~TodolistPlugin() {
28}
29
30QString TodolistPlugin::pluginName() const {
31 return "Todolist plugin";
32}
33
34double TodolistPlugin::versionNumber() const {
35 return 0.1;
36}
37
38QString TodolistPlugin::pixmapNameWidget() const {
39 return "TodoList";
40}
41
42QWidget* TodolistPlugin::widget( QWidget *wid ) {
43 return new TodolistPluginWidget( wid, "Todolist" );
44}
45
46QString TodolistPlugin::pixmapNameConfig() const {
47 return "TodoList";
48}
49
50ConfigWidget* TodolistPlugin::configWidget( QWidget* wid ) {
51 return new TodolistPluginConfig( wid , "Todolist" );
52}
53
54QString TodolistPlugin::appName() const {
55 return "Todolist";
56}
57
58int TodolistPlugin::minHeight() const {
59 return 10;
60}
61
62int TodolistPlugin::maxHeight() const {
63 return 100;
64}
65
66
67
68
69 int main() {
70}
71