-rw-r--r-- | core/pim/today/plugins/datebook/datebookplugin.cpp | 4 | ||||
-rw-r--r-- | core/pim/today/plugins/todolist/todoplugin.cpp | 4 |
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 | ||
25 | DatebookPlugin::DatebookPlugin() { | 25 | DatebookPlugin::DatebookPlugin() { |
26 | } | 26 | } |
27 | 27 | ||
28 | DatebookPlugin::~DatebookPlugin() { | 28 | DatebookPlugin::~DatebookPlugin() { |
29 | delete (DatebookPluginWidget*)m_widget; | 29 | delete (DatebookPluginWidget*)m_widget; |
30 | } | 30 | } |
31 | 31 | ||
32 | QString DatebookPlugin::pluginName() const { | 32 | QString DatebookPlugin::pluginName() const { |
33 | return QObject::tr( "Datebook plugin"); | 33 | return QObject::tr( "Datebook plugin"); |
34 | } | 34 | } |
35 | 35 | ||
36 | double DatebookPlugin::versionNumber() const { | 36 | double DatebookPlugin::versionNumber() const { |
37 | return 1.0; | 37 | return 1.0; |
38 | } | 38 | } |
39 | 39 | ||
40 | QString DatebookPlugin::pixmapNameWidget() const { | 40 | QString DatebookPlugin::pixmapNameWidget() const { |
41 | return "DateBook"; | 41 | return "datebook/DateBook"; |
42 | } | 42 | } |
43 | 43 | ||
44 | QWidget* DatebookPlugin::widget( QWidget* wid ) { | 44 | QWidget* 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 | ||
51 | QString DatebookPlugin::pixmapNameConfig() const { | 51 | QString DatebookPlugin::pixmapNameConfig() const { |
52 | return "DateBook"; | 52 | return "datebook/DateBook"; |
53 | } | 53 | } |
54 | 54 | ||
55 | TodayConfigWidget* DatebookPlugin::configWidget( QWidget* wid ) { | 55 | TodayConfigWidget* DatebookPlugin::configWidget( QWidget* wid ) { |
56 | return new DatebookPluginConfig( wid , "Datebook" ); | 56 | return new DatebookPluginConfig( wid , "Datebook" ); |
57 | } | 57 | } |
58 | 58 | ||
59 | QString DatebookPlugin::appName() const { | 59 | QString DatebookPlugin::appName() const { |
60 | return "datebook"; | 60 | return "datebook"; |
61 | } | 61 | } |
62 | 62 | ||
63 | bool DatebookPlugin::excludeFromRefresh() const { | 63 | bool DatebookPlugin::excludeFromRefresh() const { |
64 | return false; | 64 | return false; |
65 | } | 65 | } |
66 | 66 | ||
67 | void DatebookPlugin::refresh() { | 67 | void 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 | ||
23 | TodolistPlugin::TodolistPlugin() { | 23 | TodolistPlugin::TodolistPlugin() { |
24 | } | 24 | } |
25 | 25 | ||
26 | TodolistPlugin::~TodolistPlugin() { | 26 | TodolistPlugin::~TodolistPlugin() { |
27 | delete (TodolistPluginWidget*)m_widget; | 27 | delete (TodolistPluginWidget*)m_widget; |
28 | } | 28 | } |
29 | 29 | ||
30 | QString TodolistPlugin::pluginName() const { | 30 | QString TodolistPlugin::pluginName() const { |
31 | return QObject::tr( "Todolist plugin" ); | 31 | return QObject::tr( "Todolist plugin" ); |
32 | } | 32 | } |
33 | 33 | ||
34 | double TodolistPlugin::versionNumber() const { | 34 | double TodolistPlugin::versionNumber() const { |
35 | return 0.9; | 35 | return 0.9; |
36 | } | 36 | } |
37 | 37 | ||
38 | QString TodolistPlugin::pixmapNameWidget() const { | 38 | QString TodolistPlugin::pixmapNameWidget() const { |
39 | return "TodoList"; | 39 | return "todo/TodoList"; |
40 | } | 40 | } |
41 | 41 | ||
42 | QWidget* TodolistPlugin::widget( QWidget *wid ) { | 42 | QWidget* 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 | ||
49 | QString TodolistPlugin::pixmapNameConfig() const { | 49 | QString TodolistPlugin::pixmapNameConfig() const { |
50 | return "TodoList"; | 50 | return "todo/TodoList"; |
51 | } | 51 | } |
52 | 52 | ||
53 | TodayConfigWidget* TodolistPlugin::configWidget( QWidget* wid ) { | 53 | TodayConfigWidget* TodolistPlugin::configWidget( QWidget* wid ) { |
54 | return new TodolistPluginConfig( wid , "Todolist" ); | 54 | return new TodolistPluginConfig( wid , "Todolist" ); |
55 | } | 55 | } |
56 | 56 | ||
57 | QString TodolistPlugin::appName() const { | 57 | QString TodolistPlugin::appName() const { |
58 | return "todolist"; | 58 | return "todolist"; |
59 | } | 59 | } |
60 | 60 | ||
61 | 61 | ||
62 | bool TodolistPlugin::excludeFromRefresh() const { | 62 | bool TodolistPlugin::excludeFromRefresh() const { |
63 | return false; | 63 | return false; |
64 | } | 64 | } |
65 | 65 | ||
66 | void TodolistPlugin::refresh() { | 66 | void TodolistPlugin::refresh() { |
67 | if ( m_widget ) { | 67 | if ( m_widget ) { |
68 | m_widget->refresh(); | 68 | m_widget->refresh(); |
69 | } | 69 | } |
70 | } | 70 | } |