summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/today/plugins/addressbook/addressplugin.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/pim/today/plugins/addressbook/addressplugin.cpp b/core/pim/today/plugins/addressbook/addressplugin.cpp
index cb1683b..a70f8d8 100644
--- a/core/pim/today/plugins/addressbook/addressplugin.cpp
+++ b/core/pim/today/plugins/addressbook/addressplugin.cpp
@@ -1,69 +1,69 @@
1/* 1/*
2 * addressplugin.cpp 2 * addressplugin.cpp
3 * 3 *
4 * copyright : (c) 2003 by Stefan Eilers 4 * copyright : (c) 2003 by Stefan Eilers
5 * email : eilers.stefan@epost.de 5 * email : eilers.stefan@epost.de
6 * 6 *
7 * This implementation was derived from the todolist plugin implementation 7 * This implementation was derived from the todolist plugin implementation
8 * 8 *
9 */ 9 */
10/*************************************************************************** 10/***************************************************************************
11 * * 11 * *
12 * This program is free software; you can redistribute it and/or modify * 12 * This program is free software; you can redistribute it and/or modify *
13 * it under the terms of the GNU General Public License as published by * 13 * it under the terms of the GNU General Public License as published by *
14 * the Free Software Foundation; either version 2 of the License, or * 14 * the Free Software Foundation; either version 2 of the License, or *
15 * (at your option) any later version. * 15 * (at your option) any later version. *
16 * * 16 * *
17 ***************************************************************************/ 17 ***************************************************************************/
18 18
19 19
20 20
21#include "addressplugin.h" 21#include "addressplugin.h"
22#include "addresspluginconfig.h" 22#include "addresspluginconfig.h"
23 23
24AddressBookPlugin::AddressBookPlugin(): 24AddressBookPlugin::AddressBookPlugin():
25 m_abWidget( 0l ) 25 m_abWidget( 0l )
26{ 26{
27} 27}
28 28
29AddressBookPlugin::~AddressBookPlugin() { 29AddressBookPlugin::~AddressBookPlugin() {
30} 30}
31 31
32QString AddressBookPlugin::pluginName() const { 32QString AddressBookPlugin::pluginName() const {
33 return QObject::tr( "AddressBook plugin" ); 33 return QObject::tr( "AddressBook plugin" );
34} 34}
35 35
36double AddressBookPlugin::versionNumber() const { 36double AddressBookPlugin::versionNumber() const {
37 return 0.2; 37 return 0.3;
38} 38}
39 39
40QString AddressBookPlugin::pixmapNameWidget() const { 40QString AddressBookPlugin::pixmapNameWidget() const {
41 return "AddressBook"; 41 return "addressbook/AddressBook";
42} 42}
43 43
44QWidget* AddressBookPlugin::widget( QWidget *wid ) { 44QWidget* AddressBookPlugin::widget( QWidget *wid ) {
45 m_abWidget = new AddressBookPluginWidget( wid, "AddressBook" ); 45 m_abWidget = new AddressBookPluginWidget( wid, "AddressBook" );
46 return m_abWidget; 46 return m_abWidget;
47} 47}
48 48
49QString AddressBookPlugin::pixmapNameConfig() const { 49QString AddressBookPlugin::pixmapNameConfig() const {
50 return "AddressBook"; 50 return "addressbook/AddressBook";
51} 51}
52 52
53TodayConfigWidget* AddressBookPlugin::configWidget( QWidget* wid ) { 53TodayConfigWidget* AddressBookPlugin::configWidget( QWidget* wid ) {
54 return new AddressBookPluginConfig( wid , "AddressBook" ); 54 return new AddressBookPluginConfig( wid , "AddressBook" );
55} 55}
56 56
57QString AddressBookPlugin::appName() const { 57QString AddressBookPlugin::appName() const {
58 return "addressbook"; 58 return "addressbook";
59} 59}
60 60
61 61
62bool AddressBookPlugin::excludeFromRefresh() const { 62bool AddressBookPlugin::excludeFromRefresh() const {
63 return false; 63 return false;
64} 64}
65 65
66void AddressBookPlugin::refresh() 66void AddressBookPlugin::refresh()
67{ 67{
68 m_abWidget->refresh( NULL ); 68 m_abWidget->refresh( NULL );
69} 69}