diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:43:15 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:43:15 +0000 |
commit | e654398e46e37abf457b2b1122ab898d2c51c49f (patch) | |
tree | d39ee6440f3c3663c3ead84a2d4cc2d034667e96 /noatun/modules/voiceprint/voiceprint.h | |
parent | e4f29b18e19394b9352f52a6c0d0d0e3932cf511 (diff) | |
download | tdemultimedia-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/voiceprint/voiceprint.h')
-rw-r--r-- | noatun/modules/voiceprint/voiceprint.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/noatun/modules/voiceprint/voiceprint.h b/noatun/modules/voiceprint/voiceprint.h index ab5af69d..4d78909a 100644 --- a/noatun/modules/voiceprint/voiceprint.h +++ b/noatun/modules/voiceprint/voiceprint.h @@ -3,7 +3,7 @@ #include <noatun/plugin.h> -class VoicePrint : public QWidget, public MonoFFTScope, public Plugin +class VoicePrint : public TQWidget, public MonoFFTScope, public Plugin { Q_OBJECT @@ -11,21 +11,21 @@ public: VoicePrint(); virtual ~VoicePrint(); - void setColors(const QColor &bg, const QColor &fg, const QColor &l); + void setColors(const TQColor &bg, const TQColor &fg, const TQColor &l); void init(); protected: - virtual void closeEvent(QCloseEvent *); + virtual void closeEvent(TQCloseEvent *); virtual void scopeEvent(float *data, int bands); - virtual void resizeEvent(QResizeEvent *); - virtual void paintEvent(QPaintEvent *); + virtual void resizeEvent(TQResizeEvent *); + virtual void paintEvent(TQPaintEvent *); public: static VoicePrint* voicePrint; private: - QColor mProgress; - QPixmap mBuffer; + TQColor mProgress; + TQPixmap mBuffer; QRgb mLowColor, mHighColor; int mOffset, mSegmentWidth; }; |