Diffstat (limited to 'core/pim/today/plugins/addressbook/addressplugin.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | core/pim/today/plugins/addressbook/addressplugin.cpp | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/core/pim/today/plugins/addressbook/addressplugin.cpp b/core/pim/today/plugins/addressbook/addressplugin.cpp new file mode 100644 index 0000000..b78a54c --- a/dev/null +++ b/core/pim/today/plugins/addressbook/addressplugin.cpp | |||
@@ -0,0 +1,63 @@ | |||
1 | /* | ||
2 | * addressplugin.cpp | ||
3 | * | ||
4 | * copyright : (c) 2003 by Stefan Eilers | ||
5 | * email : eilers.stefan@epost.de | ||
6 | * | ||
7 | * This implementation was derived from the todolist plugin implementation | ||
8 | * | ||
9 | */ | ||
10 | /*************************************************************************** | ||
11 | * * | ||
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 * | ||
14 | * the Free Software Foundation; either version 2 of the License, or * | ||
15 | * (at your option) any later version. * | ||
16 | * * | ||
17 | ***************************************************************************/ | ||
18 | |||
19 | |||
20 | |||
21 | #include "addressplugin.h" | ||
22 | #include "addresspluginconfig.h" | ||
23 | #include "addresspluginwidget.h" | ||
24 | |||
25 | |||
26 | AddressBookPlugin::AddressBookPlugin() { | ||
27 | } | ||
28 | |||
29 | AddressBookPlugin::~AddressBookPlugin() { | ||
30 | } | ||
31 | |||
32 | QString AddressBookPlugin::pluginName() const { | ||
33 | return QObject::tr( "AddressBook plugin" ); | ||
34 | } | ||
35 | |||
36 | double AddressBookPlugin::versionNumber() const { | ||
37 | return 0.1; | ||
38 | } | ||
39 | |||
40 | QString AddressBookPlugin::pixmapNameWidget() const { | ||
41 | return "AddressBook"; | ||
42 | } | ||
43 | |||
44 | QWidget* AddressBookPlugin::widget( QWidget *wid ) { | ||
45 | return new AddressBookPluginWidget( wid, "AddressBook" ); | ||
46 | } | ||
47 | |||
48 | QString AddressBookPlugin::pixmapNameConfig() const { | ||
49 | return "AddressBook"; | ||
50 | } | ||
51 | |||
52 | TodayConfigWidget* AddressBookPlugin::configWidget( QWidget* wid ) { | ||
53 | return new AddressBookPluginConfig( wid , "AddressBook" ); | ||
54 | } | ||
55 | |||
56 | QString AddressBookPlugin::appName() const { | ||
57 | return "addressbook"; | ||
58 | } | ||
59 | |||
60 | |||
61 | bool AddressBookPlugin::excludeFromRefresh() const { | ||
62 | return true; | ||
63 | } | ||