summaryrefslogtreecommitdiffstats
path: root/kradio3/plugins/recording/recording-datamonitor.h
diff options
context:
space:
mode:
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;
};