summaryrefslogtreecommitdiff
path: root/libopie2/opieui/otaskbarapplet.h
authorar <ar>2004-06-02 22:20:53 (UTC)
committer ar <ar>2004-06-02 22:20:53 (UTC)
commit9135254f2b593741cf7b0ffd80bb8bb63986333d (patch) (side-by-side diff)
tree98248548d823b97970b2240695c958b7ce440a9d /libopie2/opieui/otaskbarapplet.h
parent8fe425e226eefcd652c4cb875d68fbd886d4c42c (diff)
downloadopie-9135254f2b593741cf7b0ffd80bb8bb63986333d.zip
opie-9135254f2b593741cf7b0ffd80bb8bb63986333d.tar.gz
opie-9135254f2b593741cf7b0ffd80bb8bb63986333d.tar.bz2
- convert to odebug framework
Diffstat (limited to 'libopie2/opieui/otaskbarapplet.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opieui/otaskbarapplet.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/libopie2/opieui/otaskbarapplet.h b/libopie2/opieui/otaskbarapplet.h
index 77cc461..75c07d1 100644
--- a/libopie2/opieui/otaskbarapplet.h
+++ b/libopie2/opieui/otaskbarapplet.h
@@ -29,15 +29,19 @@
*/
#ifndef OTASKBARAPPLET_H
#define OTASKBARAPPLET_H
+/* OPIE */
+#include <opie2/odebug.h>
+
#include <qpe/taskbarappletinterface.h>
#include <qpe/qcom.h>
+/* QT */
#include <qwidget.h>
class QMouseEvent;
namespace Opie {
namespace Ui {
@@ -58,20 +62,20 @@ template<class T> class OTaskbarAppletWrapper : public TaskbarAppletInterface
{
delete _applet;
}
QRESULT queryInterface( const QUuid& uuid, QUnknownInterface** iface )
{
- qDebug( "OTaskbarAppletWrapper::queryInterface()" );
+ odebug << "OTaskbarAppletWrapper::queryInterface()" << oendl;
*iface = 0;
if ( uuid == IID_QUnknown )
*iface = this;
else if ( uuid == IID_TaskbarApplet )
*iface = this;
- else
- return QS_FALSE;
+ else
+ return QS_FALSE;
if ( *iface ) (*iface)->addRef();
return QS_OK;
}
Q_REFCOUNT