diff options
Diffstat (limited to 'noatun/modules/kjofol-skin/kjtextdisplay.h')
-rw-r--r-- | noatun/modules/kjofol-skin/kjtextdisplay.h | 88 |
1 files changed, 44 insertions, 44 deletions
diff --git a/noatun/modules/kjofol-skin/kjtextdisplay.h b/noatun/modules/kjofol-skin/kjtextdisplay.h index 11098b0c..893efac0 100644 --- a/noatun/modules/kjofol-skin/kjtextdisplay.h +++ b/noatun/modules/kjofol-skin/kjtextdisplay.h @@ -6,35 +6,35 @@ class KJLoader; class KPixmap; //#include "kjloader.h" -#include <qobject.h> -#include <qpainter.h> +#include <tqobject.h> +#include <tqpainter.h> -class KJFilename : public QObject, public KJWidget +class KJFilename : public TQObject, public KJWidget { Q_OBJECT public: - KJFilename(const QStringList &, KJLoader *parent); + KJFilename(const TQStringList &, KJLoader *parent); ~KJFilename(); - virtual void paint(QPainter *, const QRect &rect); - virtual bool mousePress(const QPoint &pos); - virtual void mouseRelease(const QPoint &, bool in); + virtual void paint(TQPainter *, const TQRect &rect); + virtual bool mousePress(const TQPoint &pos); + virtual void mouseRelease(const TQPoint &, bool in); // virtual void newFile(); virtual void timeUpdate(int); virtual void readConfig(); - void prepareString(const QCString &str); - virtual QString tip(); + void prepareString(const TQCString &str); + virtual TQString tip(); - virtual void timerEvent(QTimerEvent *); + virtual void timerEvent(TQTimerEvent *); private: - QCString mLastTitle; + TQCString mLastTitle; int mDistance; int mTimerUpdates; int mWidth; int mTickerPos; - QPixmap mView; + TQPixmap mView; KPixmap *mBack; }; @@ -42,29 +42,29 @@ private: class KJTime : public KJWidget { public: - KJTime(const QStringList &, KJLoader *parent); + KJTime(const TQStringList &, KJLoader *parent); ~KJTime(); - virtual void paint(QPainter *, const QRect &rect); - virtual bool mousePress(const QPoint &pos); - virtual void mouseRelease(const QPoint &, bool in); + virtual void paint(TQPainter *, const TQRect &rect); + virtual bool mousePress(const TQPoint &pos); + virtual void mouseRelease(const TQPoint &, bool in); virtual void timeUpdate(int); virtual void readConfig(); - void prepareString(const QCString &time); - virtual QString tip(); + void prepareString(const TQCString &time); + virtual TQString tip(); // enum countModes { Up=0, Down }; private: - QCString mLastTime; + TQCString mLastTime; int mWidth; bool countDown; - QPixmap mTime; + TQPixmap mTime; KPixmap *mBack; private: - QString lengthString ( void ); + TQString lengthString ( void ); }; @@ -72,21 +72,21 @@ private: class KJVolumeText : public KJWidget { public: - KJVolumeText(const QStringList &, KJLoader *parent); + KJVolumeText(const TQStringList &, KJLoader *parent); ~KJVolumeText(); - virtual void paint(QPainter *, const QRect &rect); - virtual bool mousePress(const QPoint &pos); + virtual void paint(TQPainter *, const TQRect &rect); + virtual bool mousePress(const TQPoint &pos); virtual void timeUpdate(int); virtual void readConfig(); - void prepareString(const QCString &time); - virtual QString tip(); + void prepareString(const TQCString &time); + virtual TQString tip(); private: - QCString mLastVolume; + TQCString mLastVolume; int mWidth; - QPixmap mVolume; + TQPixmap mVolume; KPixmap *mBack; }; @@ -94,22 +94,22 @@ private: class KJPitchText : public KJWidget { public: - KJPitchText(const QStringList &, KJLoader *parent); + KJPitchText(const TQStringList &, KJLoader *parent); ~KJPitchText(); - virtual void paint(QPainter *, const QRect &rect); - virtual bool mousePress(const QPoint &pos); - virtual void mouseRelease(const QPoint &, bool in); + virtual void paint(TQPainter *, const TQRect &rect); + virtual bool mousePress(const TQPoint &pos); + virtual void mouseRelease(const TQPoint &, bool in); virtual void timeUpdate(int); virtual void readConfig(); - void prepareString(const QCString &time); - virtual QString tip(); + void prepareString(const TQCString &time); + virtual TQString tip(); private: - QCString mLastPitch; + TQCString mLastPitch; int mWidth; - QPixmap mSpeed; + TQPixmap mSpeed; KPixmap *mBack; }; @@ -117,22 +117,22 @@ private: class KJFileInfo : public KJWidget { public: - KJFileInfo(const QStringList &, KJLoader *parent); + KJFileInfo(const TQStringList &, KJLoader *parent); ~KJFileInfo(); - virtual void paint(QPainter *, const QRect &rect); - virtual bool mousePress(const QPoint &pos); + virtual void paint(TQPainter *, const TQRect &rect); + virtual bool mousePress(const TQPoint &pos); virtual void timeUpdate(int); virtual void readConfig(); - void prepareString(const QCString &time); - virtual QString tip(); + void prepareString(const TQCString &time); + virtual TQString tip(); private: - QCString mLastTime; - QString mInfoType; + TQCString mLastTime; + TQString mInfoType; int mWidth; - QPixmap mTime; + TQPixmap mTime; KPixmap *mBack; }; |