summaryrefslogtreecommitdiff
path: root/core/pim/today/plugins/todolist
Unidiff
Diffstat (limited to 'core/pim/today/plugins/todolist') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/today/plugins/todolist/todopluginimpl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/pim/today/plugins/todolist/todopluginimpl.cpp b/core/pim/today/plugins/todolist/todopluginimpl.cpp
index b1849ff..c64113c 100644
--- a/core/pim/today/plugins/todolist/todopluginimpl.cpp
+++ b/core/pim/today/plugins/todolist/todopluginimpl.cpp
@@ -13,24 +13,25 @@
13 * (at your option) any later version. * 13 * (at your option) any later version. *
14 * * 14 * *
15 ***************************************************************************/ 15 ***************************************************************************/
16 16
17#include "todoplugin.h" 17#include "todoplugin.h"
18#include "todopluginimpl.h" 18#include "todopluginimpl.h"
19 19
20TodolistPluginImpl::TodolistPluginImpl() { 20TodolistPluginImpl::TodolistPluginImpl() {
21 todolistPlugin = new TodolistPlugin(); 21 todolistPlugin = new TodolistPlugin();
22} 22}
23 23
24TodolistPluginImpl::~TodolistPluginImpl() { 24TodolistPluginImpl::~TodolistPluginImpl() {
25 delete todolistPlugin;
25} 26}
26 27
27 28
28TodayPluginObject* TodolistPluginImpl::guiPart() { 29TodayPluginObject* TodolistPluginImpl::guiPart() {
29 return todolistPlugin; 30 return todolistPlugin;
30} 31}
31 32
32QRESULT TodolistPluginImpl::queryInterface( const QUuid & uuid, QUnknownInterface **iface ) { 33QRESULT TodolistPluginImpl::queryInterface( const QUuid & uuid, QUnknownInterface **iface ) {
33 *iface = 0; 34 *iface = 0;
34 if ( ( uuid == IID_QUnknown ) || ( uuid == IID_TodayPluginInterface ) ) { 35 if ( ( uuid == IID_QUnknown ) || ( uuid == IID_TodayPluginInterface ) ) {
35 *iface = this, (*iface)->addRef(); 36 *iface = this, (*iface)->addRef();
36 } 37 }