summaryrefslogtreecommitdiffstats
path: root/noatun/modules/kjofol-skin/kjsliders.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
commite654398e46e37abf457b2b1122ab898d2c51c49f (patch)
treed39ee6440f3c3663c3ead84a2d4cc2d034667e96 /noatun/modules/kjofol-skin/kjsliders.h
parente4f29b18e19394b9352f52a6c0d0d0e3932cf511 (diff)
downloadtdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.tar.gz
tdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1157644 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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;