summaryrefslogtreecommitdiff
path: root/core/pim/today/plugins/todolist/todoplugin.cpp
Unidiff
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.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/core/pim/today/plugins/todolist/todoplugin.cpp b/core/pim/today/plugins/todolist/todoplugin.cpp
index 801de9d..5783814 100644
--- a/core/pim/today/plugins/todolist/todoplugin.cpp
+++ b/core/pim/today/plugins/todolist/todoplugin.cpp
@@ -1,46 +1,43 @@
1/* 1/*
2 * todoplugin.cpp 2 * todoplugin.cpp
3 * 3 *
4 * copyright : (c) 2002,2003 by Maximilian Reiß 4 * copyright : (c) 2002,2003, 2004 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
18
19#include "todoplugin.h" 17#include "todoplugin.h"
20#include "todopluginconfig.h" 18#include "todopluginconfig.h"
21 19
22
23TodolistPlugin::TodolistPlugin() { 20TodolistPlugin::TodolistPlugin() {
24} 21}
25 22
26TodolistPlugin::~TodolistPlugin() { 23TodolistPlugin::~TodolistPlugin() {
27 delete (TodolistPluginWidget*)m_widget; 24 delete (TodolistPluginWidget*)m_widget;
28} 25}
29 26
30QString TodolistPlugin::pluginName() const { 27QString TodolistPlugin::pluginName() const {
31 return QObject::tr( "Todolist plugin" ); 28 return QObject::tr( "Todolist plugin" );
32} 29}
33 30
34double TodolistPlugin::versionNumber() const { 31double TodolistPlugin::versionNumber() const {
35 return 0.9; 32 return 0.9;
36} 33}
37 34
38QString TodolistPlugin::pixmapNameWidget() const { 35QString TodolistPlugin::pixmapNameWidget() const {
39 return "todo/TodoList"; 36 return "todo/TodoList";
40} 37}
41 38
42QWidget* TodolistPlugin::widget( QWidget *wid ) { 39QWidget* TodolistPlugin::widget( QWidget *wid ) {
43 if(!m_widget) { 40 if(!m_widget) {
44 m_widget = new TodolistPluginWidget( wid, "Todolist" ); 41 m_widget = new TodolistPluginWidget( wid, "Todolist" );
45 } 42 }
46 return m_widget; 43 return m_widget;