summaryrefslogtreecommitdiffstats
path: root/src/kbfxplasmacanvasitem_events.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-05 22:07:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-05 22:07:15 +0000
commit421b60af92c83b889f8903c2898f2bd07186fcd8 (patch)
treead873a24c9438baed4942fda795430a4c3dc9a9a /src/kbfxplasmacanvasitem_events.cpp
parent39e896bddf25bf34cbf8be814d959181e2c1d1dd (diff)
downloadkbfx-421b60af92c83b889f8903c2898f2bd07186fcd8.tar.gz
kbfx-421b60af92c83b889f8903c2898f2bd07186fcd8.zip
TQt4 port kbfx
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kbfx@1230544 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/kbfxplasmacanvasitem_events.cpp')
-rw-r--r--src/kbfxplasmacanvasitem_events.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/kbfxplasmacanvasitem_events.cpp b/src/kbfxplasmacanvasitem_events.cpp
index d268a9e..1804ca7 100644
--- a/src/kbfxplasmacanvasitem_events.cpp
+++ b/src/kbfxplasmacanvasitem_events.cpp
@@ -24,7 +24,7 @@
#include <kdesktopfile.h>
#include <kiconeffect.h>
-void KbfxPlasmaCanvasItem::mousePressEvent ( QMouseEvent * e )
+void KbfxPlasmaCanvasItem::mousePressEvent ( TQMouseEvent * e )
{
e = e;
//TODO:
@@ -34,21 +34,21 @@ void KbfxPlasmaCanvasItem::mousePressEvent ( QMouseEvent * e )
}
void
-KbfxPlasmaCanvasItem::mouseReleaseEvent ( QMouseEvent * e )
+KbfxPlasmaCanvasItem::mouseReleaseEvent ( TQMouseEvent * e )
{
e = e;
- // QPixmap pix = labelIcon();
+ // TQPixmap pix = labelIcon();
emit clicked();
}
-void KbfxPlasmaCanvasItem::mouseMoveEvent ( QMouseEvent * e )
+void KbfxPlasmaCanvasItem::mouseMoveEvent ( TQMouseEvent * e )
{
e=e;
//qDebug("Item revices Mouse Event");
}
-void KbfxPlasmaCanvasItem::enterEvent ( QEvent * e )
+void KbfxPlasmaCanvasItem::enterEvent ( TQEvent * e )
{
e=e;
//qDebug("Mouse Enters");
@@ -62,7 +62,7 @@ KbfxPlasmaCanvasItem::exec()
return;
-// KIconEffect::visualActivate(new QWidget(), this->boundingRect());
+// KIconEffect::visualActivate(new TQWidget(), this->boundingRect());
m_source->exec();
}