From e654398e46e37abf457b2b1122ab898d2c51c49f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:43:15 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1157644 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- noatun/modules/winskin/waButton.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'noatun/modules/winskin/waButton.cpp') 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 +#include #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); -- cgit v1.2.1