summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/today/plugins/datebook/datebookplugin.cpp4
-rw-r--r--core/pim/today/plugins/todolist/todoplugin.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/core/pim/today/plugins/datebook/datebookplugin.cpp b/core/pim/today/plugins/datebook/datebookplugin.cpp
index 4e75a13..4e650ee 100644
--- a/core/pim/today/plugins/datebook/datebookplugin.cpp
+++ b/core/pim/today/plugins/datebook/datebookplugin.cpp
@@ -1,71 +1,71 @@
1 1
2/* 2/*
3 * datebookplugin.cpp 3 * datebookplugin.cpp
4 * 4 *
5 * copyright : (c) 2002,2003 by Maximilian Reiß 5 * copyright : (c) 2002,2003 by Maximilian Reiß
6 * email : harlekin@handhelds.org 6 * email : harlekin@handhelds.org
7 * 7 *
8 */ 8 */
9/*************************************************************************** 9/***************************************************************************
10 * * 10 * *
11 * This program is free software; you can redistribute it and/or modify * 11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by * 12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or * 13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. * 14 * (at your option) any later version. *
15 * * 15 * *
16 ***************************************************************************/ 16 ***************************************************************************/
17 17
18 18
19 19
20#include "datebookevent.h" 20#include "datebookevent.h"
21#include "datebookplugin.h" 21#include "datebookplugin.h"
22#include "datebookpluginconfig.h" 22#include "datebookpluginconfig.h"
23 23
24 24
25DatebookPlugin::DatebookPlugin() { 25DatebookPlugin::DatebookPlugin() {
26} 26}
27 27
28DatebookPlugin::~DatebookPlugin() { 28DatebookPlugin::~DatebookPlugin() {
29 delete (DatebookPluginWidget*)m_widget; 29 delete (DatebookPluginWidget*)m_widget;
30} 30}
31 31
32QString DatebookPlugin::pluginName() const { 32QString DatebookPlugin::pluginName() const {
33 return QObject::tr( "Datebook plugin"); 33 return QObject::tr( "Datebook plugin");
34} 34}
35 35
36double DatebookPlugin::versionNumber() const { 36double DatebookPlugin::versionNumber() const {
37 return 1.0; 37 return 1.0;
38} 38}
39 39
40QString DatebookPlugin::pixmapNameWidget() const { 40QString DatebookPlugin::pixmapNameWidget() const {
41 return "DateBook"; 41 return "datebook/DateBook";
42} 42}
43 43
44QWidget* DatebookPlugin::widget( QWidget* wid ) { 44QWidget* DatebookPlugin::widget( QWidget* wid ) {
45 if(!m_widget) { 45 if(!m_widget) {
46 m_widget = new DatebookPluginWidget( wid, "Datebook" ); 46 m_widget = new DatebookPluginWidget( wid, "Datebook" );
47 } 47 }
48 return m_widget; 48 return m_widget;
49} 49}
50 50
51QString DatebookPlugin::pixmapNameConfig() const { 51QString DatebookPlugin::pixmapNameConfig() const {
52 return "DateBook"; 52 return "datebook/DateBook";
53} 53}
54 54
55TodayConfigWidget* DatebookPlugin::configWidget( QWidget* wid ) { 55TodayConfigWidget* DatebookPlugin::configWidget( QWidget* wid ) {
56 return new DatebookPluginConfig( wid , "Datebook" ); 56 return new DatebookPluginConfig( wid , "Datebook" );
57} 57}
58 58
59QString DatebookPlugin::appName() const { 59QString DatebookPlugin::appName() const {
60 return "datebook"; 60 return "datebook";
61} 61}
62 62
63bool DatebookPlugin::excludeFromRefresh() const { 63bool DatebookPlugin::excludeFromRefresh() const {
64 return false; 64 return false;
65} 65}
66 66
67void DatebookPlugin::refresh() { 67void DatebookPlugin::refresh() {
68 if ( m_widget ) { 68 if ( m_widget ) {
69 m_widget->refresh(); 69 m_widget->refresh();
70 } 70 }
71} 71}
diff --git a/core/pim/today/plugins/todolist/todoplugin.cpp b/core/pim/today/plugins/todolist/todoplugin.cpp
index bff0eba..7eeb8f1 100644
--- a/core/pim/today/plugins/todolist/todoplugin.cpp
+++ b/core/pim/today/plugins/todolist/todoplugin.cpp
@@ -1,70 +1,70 @@
1/* 1/*
2 * todoplugin.cpp 2 * todoplugin.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 "todoplugin.h" 19#include "todoplugin.h"
20#include "todopluginconfig.h" 20#include "todopluginconfig.h"
21 21
22 22
23TodolistPlugin::TodolistPlugin() { 23TodolistPlugin::TodolistPlugin() {
24} 24}
25 25
26TodolistPlugin::~TodolistPlugin() { 26TodolistPlugin::~TodolistPlugin() {
27 delete (TodolistPluginWidget*)m_widget; 27 delete (TodolistPluginWidget*)m_widget;
28} 28}
29 29
30QString TodolistPlugin::pluginName() const { 30QString TodolistPlugin::pluginName() const {
31 return QObject::tr( "Todolist plugin" ); 31 return QObject::tr( "Todolist plugin" );
32} 32}
33 33
34double TodolistPlugin::versionNumber() const { 34double TodolistPlugin::versionNumber() const {
35 return 0.9; 35 return 0.9;
36} 36}
37 37
38QString TodolistPlugin::pixmapNameWidget() const { 38QString TodolistPlugin::pixmapNameWidget() const {
39 return "TodoList"; 39 return "todo/TodoList";
40} 40}
41 41
42QWidget* TodolistPlugin::widget( QWidget *wid ) { 42QWidget* TodolistPlugin::widget( QWidget *wid ) {
43 if(!m_widget) { 43 if(!m_widget) {
44 m_widget = new TodolistPluginWidget( wid, "Todolist" ); 44 m_widget = new TodolistPluginWidget( wid, "Todolist" );
45 } 45 }
46 return m_widget; 46 return m_widget;
47} 47}
48 48
49QString TodolistPlugin::pixmapNameConfig() const { 49QString TodolistPlugin::pixmapNameConfig() const {
50 return "TodoList"; 50 return "todo/TodoList";
51} 51}
52 52
53TodayConfigWidget* TodolistPlugin::configWidget( QWidget* wid ) { 53TodayConfigWidget* TodolistPlugin::configWidget( QWidget* wid ) {
54 return new TodolistPluginConfig( wid , "Todolist" ); 54 return new TodolistPluginConfig( wid , "Todolist" );
55} 55}
56 56
57QString TodolistPlugin::appName() const { 57QString TodolistPlugin::appName() const {
58 return "todolist"; 58 return "todolist";
59} 59}
60 60
61 61
62bool TodolistPlugin::excludeFromRefresh() const { 62bool TodolistPlugin::excludeFromRefresh() const {
63 return false; 63 return false;
64} 64}
65 65
66void TodolistPlugin::refresh() { 66void TodolistPlugin::refresh() {
67 if ( m_widget ) { 67 if ( m_widget ) {
68 m_widget->refresh(); 68 m_widget->refresh();
69 } 69 }
70} 70}