diff options
Diffstat (limited to 'noatun/modules/winskin/waSlider.cpp')
-rw-r--r-- | noatun/modules/winskin/waSlider.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/noatun/modules/winskin/waSlider.cpp b/noatun/modules/winskin/waSlider.cpp index 99e52402..3323e7ee 100644 --- a/noatun/modules/winskin/waSlider.cpp +++ b/noatun/modules/winskin/waSlider.cpp @@ -70,7 +70,7 @@ void WaSlider::mouseMoveEvent(TQMouseEvent * e) if (newX < 0) newX = 0; - TQSize size = sizeHint(); + TQSize size = tqsizeHint(); int maxX = size.width() - slider_width; @@ -102,7 +102,7 @@ void WaSlider::updateSliderPos(int value) } void WaSlider::mousePressEvent(TQMouseEvent *e) { - if (e->button() != LeftButton && e->button() != MidButton) { + if (e->button() != Qt::LeftButton && e->button() != Qt::MidButton) { WaWidget::mousePressEvent(e); return; } @@ -143,7 +143,7 @@ void WaSlider::mouseReleaseEvent(TQMouseEvent *e) int WaSlider::pixel2Value(int xpos) { - TQSize size = sizeHint(); + TQSize size = tqsizeHint(); int min = abs(minValue); int max = abs(maxValue); @@ -158,7 +158,7 @@ int WaSlider::pixel2Value(int xpos) int WaSlider::value2Pixel(int value) { - TQSize size = sizeHint(); + TQSize size = tqsizeHint(); float min = (float) minValue; float max = (float) maxValue; float fmin = min; |