summaryrefslogtreecommitdiffstats
path: root/noatun/modules/kjofol-skin/kjwidget.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/kjwidget.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/kjwidget.h')
-rw-r--r--noatun/modules/kjofol-skin/kjwidget.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/noatun/modules/kjofol-skin/kjwidget.h b/noatun/modules/kjofol-skin/kjwidget.h
index cc7ddf53..3f63671b 100644
--- a/noatun/modules/kjofol-skin/kjwidget.h
+++ b/noatun/modules/kjofol-skin/kjwidget.h
@@ -9,14 +9,14 @@ public:
KJWidget(KJLoader *);
virtual ~KJWidget() {};
// called when the widget should paint
- virtual void paint(QPainter *, const QRect &) {};
+ virtual void paint(TQPainter *, const TQRect &) {};
// called to receive the rect this widget is in
- virtual QRect rect() const { return mRect; }
+ virtual TQRect rect() const { return mRect; }
// called when pressed in this widget
- virtual bool mousePress(const QPoint &) {return false; }
+ virtual bool mousePress(const TQPoint &) {return false; }
// called when the mouse is released after clicked in this widget
- virtual void mouseRelease(const QPoint &, bool){}
- virtual void mouseMove(const QPoint &, bool) {}
+ virtual void mouseRelease(const TQPoint &, bool){}
+ virtual void mouseMove(const TQPoint &, bool) {}
// called with the current time (mille)
virtual void timeUpdate(int) {}
// called when a new song is playing, player() is ready with it too
@@ -26,15 +26,15 @@ public:
// called when the mouse is moved while clicked in this widget
// repaint myself
- virtual void repaint(bool me=true, const QRect &rect=QRect(), bool clear=false);
+ virtual void repaint(bool me=true, const TQRect &rect=TQRect(), bool clear=false);
- virtual QString tip() { return 0; }
+ virtual TQString tip() { return 0; }
public:
- static QBitmap getMask(const QImage &color, register QRgb=qRgb(255,0,255));
+ static TQBitmap getMask(const TQImage &color, register QRgb=qRgb(255,0,255));
protected:
- const QString &backgroundPressed(const QString &bmp) const;
+ const TQString &backgroundPressed(const TQString &bmp) const;
KJLoader *parent() const {return mParent;}
KJLoader &parser() const {return *mParent;}
@@ -43,11 +43,11 @@ protected:
KJFont &volumeFont() const {return *mParent->mVolumeFont;}
KJFont &pitchFont() const {return *mParent->mPitchFont;}
- void setRect(const QRect& rect) {mRect=rect;}
- void setRect(int x, int y, int xs, int ys) {mRect=QRect(x,y,xs,ys);}
+ void setRect(const TQRect& rect) {mRect=rect;}
+ void setRect(int x, int y, int xs, int ys) {mRect=TQRect(x,y,xs,ys);}
private:
KJLoader *mParent;
- QRect mRect;
+ TQRect mRect;
};
#endif