author | mickeyl <mickeyl> | 2004-03-01 14:24:18 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2004-03-01 14:24:18 (UTC) |
commit | 3cdec2fe5b3201a121cfbb2352162fe0cbae0a1d (patch) (side-by-side diff) | |
tree | 409756ff03a1ceabfa85d37e08ed12a14c72289a /core/applets/cardmon/cardmonimpl.cpp | |
parent | 60cc11a7c619bebec117e953f3b34bbf213d0fb2 (diff) | |
download | opie-3cdec2fe5b3201a121cfbb2352162fe0cbae0a1d.zip opie-3cdec2fe5b3201a121cfbb2352162fe0cbae0a1d.tar.gz opie-3cdec2fe5b3201a121cfbb2352162fe0cbae0a1d.tar.bz2 |
libopie1->libopie2
Diffstat (limited to 'core/applets/cardmon/cardmonimpl.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | core/applets/cardmon/cardmonimpl.cpp | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/core/applets/cardmon/cardmonimpl.cpp b/core/applets/cardmon/cardmonimpl.cpp deleted file mode 100644 index 7b144d4..0000000 --- a/core/applets/cardmon/cardmonimpl.cpp +++ b/dev/null @@ -1,42 +0,0 @@ -#include "cardmon.h" -#include "cardmonimpl.h" - - -CardMonitorImpl::CardMonitorImpl() - : cardMonitor(0) { -} - -CardMonitorImpl::~CardMonitorImpl() { - delete cardMonitor; -} - -QWidget *CardMonitorImpl::applet( QWidget *parent ) { - if ( !cardMonitor ) { - cardMonitor = new CardMonitor( parent ); - } - return cardMonitor; -} - -int CardMonitorImpl::position() const { - return 7; -} - -QRESULT CardMonitorImpl::queryInterface( const QUuid &uuid, QUnknownInterface **iface ) { - *iface = 0; - if ( uuid == IID_QUnknown ) { - *iface = this; - } else if ( uuid == IID_TaskbarApplet ) { - *iface = this; - } else { - return QS_FALSE; - } - - if ( *iface ) { - (*iface)->addRef(); - } - return QS_OK; -} - -Q_EXPORT_INTERFACE() { - Q_CREATE_INSTANCE( CardMonitorImpl ) -} |