summaryrefslogtreecommitdiff
path: root/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginimpl.cpp
Unidiff
Diffstat (limited to 'noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginimpl.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginimpl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginimpl.cpp b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginimpl.cpp
index 9a640d4..c17781b 100644
--- a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginimpl.cpp
+++ b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginimpl.cpp
@@ -15,24 +15,25 @@
15 ***************************************************************************/ 15 ***************************************************************************/
16 16
17 17
18 18
19#include "stocktickerplugin.h" 19#include "stocktickerplugin.h"
20#include "stocktickerpluginimpl.h" 20#include "stocktickerpluginimpl.h"
21 21
22StockTickerPluginImpl::StockTickerPluginImpl() { 22StockTickerPluginImpl::StockTickerPluginImpl() {
23 stocktickerPlugin = new StockTickerPlugin(); 23 stocktickerPlugin = new StockTickerPlugin();
24} 24}
25 25
26StockTickerPluginImpl::~StockTickerPluginImpl() { 26StockTickerPluginImpl::~StockTickerPluginImpl() {
27 delete stocktickerPlugin;
27} 28}
28 29
29 30
30TodayPluginObject* StockTickerPluginImpl::guiPart() { 31TodayPluginObject* StockTickerPluginImpl::guiPart() {
31 return stocktickerPlugin; 32 return stocktickerPlugin;
32} 33}
33 34
34QRESULT StockTickerPluginImpl::queryInterface( const QUuid & uuid, QUnknownInterface **iface ) { 35QRESULT StockTickerPluginImpl::queryInterface( const QUuid & uuid, QUnknownInterface **iface ) {
35 *iface = 0; 36 *iface = 0;
36 if ( ( uuid == IID_QUnknown ) || ( uuid == IID_TodayPluginInterface ) ) { 37 if ( ( uuid == IID_QUnknown ) || ( uuid == IID_TodayPluginInterface ) ) {
37 *iface = this, (*iface)->addRef(); 38 *iface = this, (*iface)->addRef();
38 } 39 }