summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/todayplugins/fortune/fortunepluginimpl.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/noncore/todayplugins/fortune/fortunepluginimpl.cpp b/noncore/todayplugins/fortune/fortunepluginimpl.cpp
index 7ef24e9..4844f74 100644
--- a/noncore/todayplugins/fortune/fortunepluginimpl.cpp
+++ b/noncore/todayplugins/fortune/fortunepluginimpl.cpp
@@ -1,49 +1,48 @@
1/* 1/*
2 * fortunepluginimpl.cpp 2 * fortunepluginimpl.cpp
3 * 3 *
4 * copyright : (c) 2002 by Chris Larson 4 * copyright : (c) 2002 by Chris Larson
5 * email : kergoth@handhelds.org 5 * email : kergoth@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#include "fortuneplugin.h" 17#include "fortuneplugin.h"
18#include "fortunepluginimpl.h" 18#include "fortunepluginimpl.h"
19 19
20FortunePluginImpl::FortunePluginImpl() 20FortunePluginImpl::FortunePluginImpl()
21{ 21{
22 fortunePlugin = new FortunePlugin(); 22 fortunePlugin = new FortunePlugin();
23} 23}
24 24
25FortunePluginImpl::~FortunePluginImpl() 25FortunePluginImpl::~FortunePluginImpl()
26{ 26{
27} 27}
28 28
29 29
30TodayPluginObject* FortunePluginImpl::guiPart() 30TodayPluginObject* FortunePluginImpl::guiPart()
31{ 31{
32 return fortunePlugin; 32 return fortunePlugin;
33} 33}
34 34
35QRESULT FortunePluginImpl::queryInterface( const QUuid & uuid, QUnknownInterface **iface ) 35QRESULT FortunePluginImpl::queryInterface( const QUuid & uuid, QUnknownInterface **iface )
36{ 36{
37 *iface = 0; 37 *iface = 0;
38 qWarning("FortunePluginImpl::queryInterface called\n");
39 if ( ( uuid == IID_QUnknown ) || ( uuid == IID_TodayPluginInterface ) ) { 38 if ( ( uuid == IID_QUnknown ) || ( uuid == IID_TodayPluginInterface ) ) {
40 *iface = this, (*iface)->addRef(); 39 *iface = this, (*iface)->addRef();
41 } 40 }
42 return QS_OK; 41 return QS_OK;
43 42
44} 43}
45 44
46Q_EXPORT_INTERFACE() 45Q_EXPORT_INTERFACE()
47{ 46{
48 Q_CREATE_INSTANCE( FortunePluginImpl ); 47 Q_CREATE_INSTANCE( FortunePluginImpl );
49} 48}