From 70b9eea2ba01c3691497f49e4c45cb070c16193c Mon Sep 17 00:00:00 2001 From: tpearson Date: Fri, 1 Jul 2011 03:43:07 +0000 Subject: TQt4 port kradio This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kradio@1238952 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kradio3/plugins/recording/recording-datamonitor.h | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'kradio3/plugins/recording/recording-datamonitor.h') diff --git a/kradio3/plugins/recording/recording-datamonitor.h b/kradio3/plugins/recording/recording-datamonitor.h index c0b7c40..9d40b51 100644 --- a/kradio3/plugins/recording/recording-datamonitor.h +++ b/kradio3/plugins/recording/recording-datamonitor.h @@ -18,19 +18,20 @@ #ifndef KRADIO_RECORDING_DATA_MONITOR #define KRADIO_RECORDING_DATA_MONITOR -#include -#include +#include +#include //#include #include "../../src/include/soundstreamclient_interfaces.h" -class RecordingDataMonitor : public QFrame//, +class RecordingDataMonitor : public TQFrame//, //public ISoundStreamClient //public IRecordingClient { Q_OBJECT + TQ_OBJECT public: - RecordingDataMonitor(QWidget *parent, const char *name); + RecordingDataMonitor(TQWidget *tqparent, const char *name); ~RecordingDataMonitor(); bool noticeSoundStreamData(SoundStreamID id, @@ -41,14 +42,14 @@ public: protected: - void drawContents(QPainter *p); - void internalDrawContents(QPainter &painter, bool repaintAll); + void drawContents(TQPainter *p); + void internalDrawContents(TQPainter &painter, bool tqrepaintAll); // own stuff ... protected: void setChannels(int n); - bool setColors(const QColor &activeColor, const QColor &bkgnd); + bool setColors(const TQColor &activeColor, const TQColor &bkgnd); // data protected: @@ -58,7 +59,7 @@ protected: int m_maxValue; // maximum absolute value possible for samples int m_channels; - QColor m_colorActiveText, m_colorButton; + TQColor m_colorActiveText, m_colorButton; int *m_pActiveBlocks; }; -- cgit v1.2.1