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/waTitleBar.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'noatun/modules/winskin/waTitleBar.cpp') diff --git a/noatun/modules/winskin/waTitleBar.cpp b/noatun/modules/winskin/waTitleBar.cpp index 82b603f5..bba7386e 100644 --- a/noatun/modules/winskin/waTitleBar.cpp +++ b/noatun/modules/winskin/waTitleBar.cpp @@ -12,8 +12,8 @@ */ -#include -#include +#include +#include #include "waTitleBar.h" #include "waSkinModel.h" @@ -32,7 +32,7 @@ WaTitleBar::~WaTitleBar() { } -void WaTitleBar::mousePressEvent(QMouseEvent * e) +void WaTitleBar::mousePressEvent(TQMouseEvent * e) { if (e->button() != RightButton) { if (!moving) { @@ -49,11 +49,11 @@ void WaTitleBar::mousePressEvent(QMouseEvent * e) WaWidget::mousePressEvent(e); } -void WaTitleBar::mouseDoubleClickEvent(QMouseEvent *) { +void WaTitleBar::mouseDoubleClickEvent(TQMouseEvent *) { emit(shaded()); } -void WaTitleBar::mouseReleaseEvent(QMouseEvent * e) +void WaTitleBar::mouseReleaseEvent(TQMouseEvent * e) { if (e->button() != RightButton) { moving = false; @@ -64,9 +64,9 @@ void WaTitleBar::mouseReleaseEvent(QMouseEvent * e) WaWidget::mouseReleaseEvent(e); } -void WaTitleBar::mouseMoveEvent(QMouseEvent * e) +void WaTitleBar::mouseMoveEvent(TQMouseEvent * e) { - QPoint diff = e->globalPos() - mLastPos; + TQPoint diff = e->globalPos() - mLastPos; if (abs(diff.x()) > 10 || abs(diff.y()) > 10) { // Moving starts only, when passing a drag border moving = true; -- cgit v1.2.1