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/waSlider.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'noatun/modules/winskin/waSlider.cpp') diff --git a/noatun/modules/winskin/waSlider.cpp b/noatun/modules/winskin/waSlider.cpp index 4fff1b0d..99e52402 100644 --- a/noatun/modules/winskin/waSlider.cpp +++ b/noatun/modules/winskin/waSlider.cpp @@ -44,7 +44,7 @@ void WaSlider::setPixmapSliderBar(int pixId) update(); } -void WaSlider::paintEvent(QPaintEvent *) +void WaSlider::paintEvent(TQPaintEvent *) { // POSBAR.BMP does not have full height in all Winamp skins // Paint background before painting slider to be on the safe side @@ -58,7 +58,7 @@ void WaSlider::paintEvent(QPaintEvent *) } -void WaSlider::mouseMoveEvent(QMouseEvent * e) +void WaSlider::mouseMoveEvent(TQMouseEvent * e) { if (lDragging == false) { WaWidget::mouseMoveEvent(e); @@ -70,7 +70,7 @@ void WaSlider::mouseMoveEvent(QMouseEvent * e) if (newX < 0) newX = 0; - QSize size = sizeHint(); + TQSize size = sizeHint(); int maxX = size.width() - slider_width; @@ -101,7 +101,7 @@ void WaSlider::updateSliderPos(int value) update(); } -void WaSlider::mousePressEvent(QMouseEvent *e) { +void WaSlider::mousePressEvent(TQMouseEvent *e) { if (e->button() != LeftButton && e->button() != MidButton) { WaWidget::mousePressEvent(e); return; @@ -127,7 +127,7 @@ void WaSlider::mousePressEvent(QMouseEvent *e) { emit(sliderPressed()); } -void WaSlider::mouseReleaseEvent(QMouseEvent *e) +void WaSlider::mouseReleaseEvent(TQMouseEvent *e) { if (!lDragging) { WaWidget::mouseReleaseEvent(e); @@ -143,7 +143,7 @@ void WaSlider::mouseReleaseEvent(QMouseEvent *e) int WaSlider::pixel2Value(int xpos) { - QSize size = sizeHint(); + TQSize size = sizeHint(); int min = abs(minValue); int max = abs(maxValue); @@ -158,7 +158,7 @@ int WaSlider::pixel2Value(int xpos) int WaSlider::value2Pixel(int value) { - QSize size = sizeHint(); + TQSize size = sizeHint(); float min = (float) minValue; float max = (float) maxValue; float fmin = min; -- cgit v1.2.1