summaryrefslogtreecommitdiffstats
path: root/noatun/modules/kjofol-skin/kjsliders.h
diff options
context:
space:
mode:
Diffstat (limited to 'noatun/modules/kjofol-skin/kjsliders.h')
-rw-r--r--noatun/modules/kjofol-skin/kjsliders.h50
1 files changed, 25 insertions, 25 deletions
diff --git a/noatun/modules/kjofol-skin/kjsliders.h b/noatun/modules/kjofol-skin/kjsliders.h
index 94f10934..bd3c3324 100644
--- a/noatun/modules/kjofol-skin/kjsliders.h
+++ b/noatun/modules/kjofol-skin/kjsliders.h
@@ -2,7 +2,7 @@
#define KJSLIDERS_H
#include "kjwidget.h"
-#include <qpainter.h>
+#include <tqpainter.h>
class KJLoader;
class KJPitchText;
@@ -12,21 +12,21 @@ class KJVolumeText;
class KJVolumeBMP : public KJWidget
{
public:
- KJVolumeBMP(const QStringList &, KJLoader *parent);
+ KJVolumeBMP(const TQStringList &, KJLoader *parent);
- virtual void paint(QPainter *, const QRect &rect);
- virtual bool mousePress(const QPoint &pos);
- virtual void mouseRelease(const QPoint &pos, bool);
+ virtual void paint(TQPainter *, const TQRect &rect);
+ virtual bool mousePress(const TQPoint &pos);
+ virtual void mouseRelease(const TQPoint &pos, bool);
virtual void timeUpdate(int);
- virtual void mouseMove(const QPoint &pos, bool);
+ virtual void mouseMove(const TQPoint &pos, bool);
- virtual QString tip();
+ virtual TQString tip();
void setText(KJVolumeText *t) { mText=t; }
private:
- QPixmap mImages;
- QImage mPos;
+ TQPixmap mImages;
+ TQImage mPos;
int mVolume, mOldVolume;
int mWidth, mCount;
KJVolumeText *mText;
@@ -36,21 +36,21 @@ private:
class KJVolumeBar : public KJWidget
{
public:
- KJVolumeBar(const QStringList &, KJLoader *parent);
+ KJVolumeBar(const TQStringList &, KJLoader *parent);
- virtual void paint(QPainter *, const QRect &rect);
- virtual bool mousePress(const QPoint &pos);
- virtual void mouseRelease(const QPoint &pos, bool);
+ virtual void paint(TQPainter *, const TQRect &rect);
+ virtual bool mousePress(const TQPoint &pos);
+ virtual void mouseRelease(const TQPoint &pos, bool);
virtual void timeUpdate(int);
- virtual void mouseMove(const QPoint &pos, bool);
+ virtual void mouseMove(const TQPoint &pos, bool);
- virtual QString tip();
+ virtual TQString tip();
void setText(KJVolumeText *t) { mText=t; }
private:
- QPixmap mSlider;
- QPixmap mBack;
+ TQPixmap mSlider;
+ TQPixmap mBack;
int mVolume;
KJVolumeText *mText;
};
@@ -59,23 +59,23 @@ private:
class KJPitchBMP : public KJWidget
{
public:
- KJPitchBMP(const QStringList &, KJLoader *parent);
+ KJPitchBMP(const TQStringList &, KJLoader *parent);
- virtual void paint(QPainter *, const QRect &rect);
- virtual bool mousePress(const QPoint &pos);
- virtual void mouseRelease(const QPoint &pos, bool);
+ virtual void paint(TQPainter *, const TQRect &rect);
+ virtual bool mousePress(const TQPoint &pos);
+ virtual void mouseRelease(const TQPoint &pos, bool);
virtual void timeUpdate(int);
virtual void newFile();
- virtual void mouseMove(const QPoint &pos, bool);
+ virtual void mouseMove(const TQPoint &pos, bool);
virtual void readConfig();
- virtual QString tip();
+ virtual TQString tip();
void setText(KJPitchText *t) { mText=t; }
private:
- QPixmap mImages;
- QImage mPos;
+ TQPixmap mImages;
+ TQImage mPos;
int mWidth, mCount;
float mCurrentPitch;
float mOldPitch;