summaryrefslogtreecommitdiffstats
path: root/kradio3/plugins/recording/recording-datamonitor.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-01 03:43:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-01 03:43:07 +0000
commit70b9eea2ba01c3691497f49e4c45cb070c16193c (patch)
tree9a6df61aa247a27275aad9c5245e419e89c2c640 /kradio3/plugins/recording/recording-datamonitor.h
parent998c1384ace4ae4655997c181fa33242148cd0a4 (diff)
downloadtderadio-70b9eea2ba01c3691497f49e4c45cb070c16193c.tar.gz
tderadio-70b9eea2ba01c3691497f49e4c45cb070c16193c.zip
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
Diffstat (limited to 'kradio3/plugins/recording/recording-datamonitor.h')
-rw-r--r--kradio3/plugins/recording/recording-datamonitor.h17
1 files changed, 9 insertions, 8 deletions
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 <qframe.h>
-#include <qcolor.h>
+#include <tqframe.h>
+#include <tqcolor.h>
//#include <kradio/interfaces/recording-interfaces.h>
#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;
};