summaryrefslogtreecommitdiffstats
path: root/noatun/modules/winskin/waSlider.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'noatun/modules/winskin/waSlider.cpp')
-rw-r--r--noatun/modules/winskin/waSlider.cpp14
1 files changed, 7 insertions, 7 deletions
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;