author | zecke <zecke> | 2004-01-27 18:56:29 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-01-27 18:56:29 (UTC) |
commit | ec32e99fae963a97b527c2c54813a96c284d99cf (patch) (unidiff) | |
tree | 6ccfe6c127c8f9a32e1fa6cf6eb5385bd18f9267 /noncore/todayplugins/fortune/fortunepluginimpl.cpp | |
parent | 829b13ec0e4ffb359ab39c16c564719908173ffa (diff) | |
download | opie-ec32e99fae963a97b527c2c54813a96c284d99cf.zip opie-ec32e99fae963a97b527c2c54813a96c284d99cf.tar.gz opie-ec32e99fae963a97b527c2c54813a96c284d99cf.tar.bz2 |
Guess what? return QS_FALSE;
Diffstat (limited to 'noncore/todayplugins/fortune/fortunepluginimpl.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/todayplugins/fortune/fortunepluginimpl.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/noncore/todayplugins/fortune/fortunepluginimpl.cpp b/noncore/todayplugins/fortune/fortunepluginimpl.cpp index 466e322..090aaa7 100644 --- a/noncore/todayplugins/fortune/fortunepluginimpl.cpp +++ b/noncore/todayplugins/fortune/fortunepluginimpl.cpp | |||
@@ -29,21 +29,23 @@ FortunePluginImpl::~FortunePluginImpl() | |||
29 | 29 | ||
30 | 30 | ||
31 | TodayPluginObject* FortunePluginImpl::guiPart() | 31 | TodayPluginObject* FortunePluginImpl::guiPart() |
32 | { | 32 | { |
33 | return fortunePlugin; | 33 | return fortunePlugin; |
34 | } | 34 | } |
35 | 35 | ||
36 | QRESULT FortunePluginImpl::queryInterface( const QUuid & uuid, QUnknownInterface **iface ) | 36 | QRESULT FortunePluginImpl::queryInterface( const QUuid & uuid, QUnknownInterface **iface ) |
37 | { | 37 | { |
38 | *iface = 0; | 38 | *iface = 0; |
39 | if ( ( uuid == IID_QUnknown ) || ( uuid == IID_TodayPluginInterface ) ) { | 39 | if ( ( uuid == IID_QUnknown ) || ( uuid == IID_TodayPluginInterface ) ) { |
40 | *iface = this, (*iface)->addRef(); | 40 | *iface = this, (*iface)->addRef(); |
41 | } | 41 | }else |
42 | return QS_FALSE; | ||
43 | |||
42 | return QS_OK; | 44 | return QS_OK; |
43 | 45 | ||
44 | } | 46 | } |
45 | 47 | ||
46 | Q_EXPORT_INTERFACE() | 48 | Q_EXPORT_INTERFACE() |
47 | { | 49 | { |
48 | Q_CREATE_INSTANCE( FortunePluginImpl ); | 50 | Q_CREATE_INSTANCE( FortunePluginImpl ); |
49 | } | 51 | } |