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
@@ -3,43 +3,44 @@
3 * 3 *
4 * copyright : (c) 2002 by L.J. Potter 4 * copyright : (c) 2002 by L.J. Potter
5 * email : llornkcor@handhelds.org 5 * email : llornkcor@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 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 }
39 return QS_OK; 40 return QS_OK;
40 41
41} 42}
42 43
43Q_EXPORT_INTERFACE() { 44Q_EXPORT_INTERFACE() {
44 Q_CREATE_INSTANCE( StockTickerPluginImpl ); 45 Q_CREATE_INSTANCE( StockTickerPluginImpl );
45} 46}