summaryrefslogtreecommitdiffstats
path: root/noatun/modules/winskin/waButton.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
commite654398e46e37abf457b2b1122ab898d2c51c49f (patch)
treed39ee6440f3c3663c3ead84a2d4cc2d034667e96 /noatun/modules/winskin/waButton.cpp
parente4f29b18e19394b9352f52a6c0d0d0e3932cf511 (diff)
downloadtdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.tar.gz
tdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1157644 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'noatun/modules/winskin/waButton.cpp')
-rw-r--r--noatun/modules/winskin/waButton.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/noatun/modules/winskin/waButton.cpp b/noatun/modules/winskin/waButton.cpp
index cac0275a..da113c87 100644
--- a/noatun/modules/winskin/waButton.cpp
+++ b/noatun/modules/winskin/waButton.cpp
@@ -10,7 +10,7 @@
*/
-#include <qbitmap.h>
+#include <tqbitmap.h>
#include "waButton.h"
@@ -44,12 +44,12 @@ void WaButton::setPixmapDownSelected(int pixId) {
nDownIdSelected=pixId;
}
-void WaButton::paintEvent(QPaintEvent *) {
+void WaButton::paintEvent(TQPaintEvent *) {
paintPixmap(getPixmapId());
}
-void WaButton::mousePressEvent(QMouseEvent* e) {
+void WaButton::mousePressEvent(TQMouseEvent* e) {
if (e->button() != LeftButton) {
// We can't deal with it, but maybe the widget can do something clever
WaWidget::mousePressEvent(e);
@@ -60,7 +60,7 @@ void WaButton::mousePressEvent(QMouseEvent* e) {
}
}
-void WaButton::mouseReleaseEvent(QMouseEvent* e) {
+void WaButton::mouseReleaseEvent(TQMouseEvent* e) {
if (!pressed) {
// We're not pressed, so just pass along the mouse event, it's not ours
WaWidget::mouseReleaseEvent(e);