Diffstat (limited to 'noncore/todayplugins/fortune') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/todayplugins/fortune/fortunepluginimpl.cpp | 1 |
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 | |||
@@ -14,36 +14,35 @@ | |||
14 | * * | 14 | * * |
15 | ***************************************************************************/ | 15 | ***************************************************************************/ |
16 | 16 | ||
17 | #include "fortuneplugin.h" | 17 | #include "fortuneplugin.h" |
18 | #include "fortunepluginimpl.h" | 18 | #include "fortunepluginimpl.h" |
19 | 19 | ||
20 | FortunePluginImpl::FortunePluginImpl() | 20 | FortunePluginImpl::FortunePluginImpl() |
21 | { | 21 | { |
22 | fortunePlugin = new FortunePlugin(); | 22 | fortunePlugin = new FortunePlugin(); |
23 | } | 23 | } |
24 | 24 | ||
25 | FortunePluginImpl::~FortunePluginImpl() | 25 | FortunePluginImpl::~FortunePluginImpl() |
26 | { | 26 | { |
27 | } | 27 | } |
28 | 28 | ||
29 | 29 | ||
30 | TodayPluginObject* FortunePluginImpl::guiPart() | 30 | TodayPluginObject* FortunePluginImpl::guiPart() |
31 | { | 31 | { |
32 | return fortunePlugin; | 32 | return fortunePlugin; |
33 | } | 33 | } |
34 | 34 | ||
35 | QRESULT FortunePluginImpl::queryInterface( const QUuid & uuid, QUnknownInterface **iface ) | 35 | QRESULT 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 | ||
46 | Q_EXPORT_INTERFACE() | 45 | Q_EXPORT_INTERFACE() |
47 | { | 46 | { |
48 | Q_CREATE_INSTANCE( FortunePluginImpl ); | 47 | Q_CREATE_INSTANCE( FortunePluginImpl ); |
49 | } | 48 | } |