summaryrefslogtreecommitdiff
path: root/core/pim/today/plugins/datebook/datebookplugin.cpp
authorharlekin <harlekin>2004-03-01 15:47:43 (UTC)
committer harlekin <harlekin>2004-03-01 15:47:43 (UTC)
commit87676b131aad1bfe979570a48107527db4040020 (patch) (unidiff)
tree9f7ee88adc4b8987e8d3387e2370719078f7ff5e /core/pim/today/plugins/datebook/datebookplugin.cpp
parentc50e4c32d34a0550f167480b6306aac632fb201c (diff)
downloadopie-87676b131aad1bfe979570a48107527db4040020.zip
opie-87676b131aad1bfe979570a48107527db4040020.tar.gz
opie-87676b131aad1bfe979570a48107527db4040020.tar.bz2
today plus datebook, mail, todolist plugins libopie1->libopie2
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.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/core/pim/today/plugins/datebook/datebookplugin.cpp b/core/pim/today/plugins/datebook/datebookplugin.cpp
index 8dfa52f..f46806f 100644
--- a/core/pim/today/plugins/datebook/datebookplugin.cpp
+++ b/core/pim/today/plugins/datebook/datebookplugin.cpp
@@ -1,67 +1,64 @@
1
2/* 1/*
3 * datebookplugin.cpp 2 * datebookplugin.cpp
4 * 3 *
5 * copyright : (c) 2002,2003 by Maximilian Reiß 4 * copyright : (c) 2002,2003, 2004 by Maximilian Reiß
6 * email : harlekin@handhelds.org 5 * email : harlekin@handhelds.org
7 * 6 *
8 */ 7 */
9/*************************************************************************** 8/***************************************************************************
10 * * 9 * *
11 * 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 *
12 * 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 *
13 * the Free Software Foundation; either version 2 of the License, or * 12 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. * 13 * (at your option) any later version. *
15 * * 14 * *
16 ***************************************************************************/ 15 ***************************************************************************/
17 16
18
19
20#include "datebookplugin.h" 17#include "datebookplugin.h"
21#include "datebookpluginconfig.h" 18#include "datebookpluginconfig.h"
22 19
23 20
24DatebookPlugin::DatebookPlugin() { 21DatebookPlugin::DatebookPlugin() {
25} 22}
26 23
27DatebookPlugin::~DatebookPlugin() { 24DatebookPlugin::~DatebookPlugin() {
28 delete (DatebookPluginWidget*)m_widget; 25 delete (DatebookPluginWidget*)m_widget;
29} 26}
30 27
31QString DatebookPlugin::pluginName() const { 28QString DatebookPlugin::pluginName() const {
32 return QObject::tr( "Datebook plugin"); 29 return QObject::tr( "Datebook plugin");
33} 30}
34 31
35double DatebookPlugin::versionNumber() const { 32double DatebookPlugin::versionNumber() const {
36 return 1.0; 33 return 1.0;
37} 34}
38 35
39QString DatebookPlugin::pixmapNameWidget() const { 36QString DatebookPlugin::pixmapNameWidget() const {
40 return "datebook/DateBook"; 37 return "datebook/DateBook";
41} 38}
42 39
43QWidget* DatebookPlugin::widget( QWidget* wid ) { 40QWidget* DatebookPlugin::widget( QWidget* wid ) {
44 if(!m_widget) { 41 if(!m_widget) {
45 m_widget = new DatebookPluginWidget( wid, "Datebook" ); 42 m_widget = new DatebookPluginWidget( wid, "Datebook" );
46 } 43 }
47 return m_widget; 44 return m_widget;
48} 45}
49 46
50QString DatebookPlugin::pixmapNameConfig() const { 47QString DatebookPlugin::pixmapNameConfig() const {
51 return "datebook/DateBook"; 48 return "datebook/DateBook";
52} 49}
53 50
54TodayConfigWidget* DatebookPlugin::configWidget( QWidget* wid ) { 51TodayConfigWidget* DatebookPlugin::configWidget( QWidget* wid ) {
55 return new DatebookPluginConfig( wid , "Datebook" ); 52 return new DatebookPluginConfig( wid , "Datebook" );
56} 53}
57 54
58QString DatebookPlugin::appName() const { 55QString DatebookPlugin::appName() const {
59 return "datebook"; 56 return "datebook";
60} 57}
61 58
62bool DatebookPlugin::excludeFromRefresh() const { 59bool DatebookPlugin::excludeFromRefresh() const {
63 return false; 60 return false;
64} 61}
65 62
66void DatebookPlugin::refresh() { 63void DatebookPlugin::refresh() {
67 if ( m_widget ) { 64 if ( m_widget ) {