summaryrefslogtreecommitdiffstats
path: root/kasteroids/ledmeter.h
diff options
context:
space:
mode:
Diffstat (limited to 'kasteroids/ledmeter.h')
-rw-r--r--kasteroids/ledmeter.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/kasteroids/ledmeter.h b/kasteroids/ledmeter.h
index ea9b7e96..307b5bfc 100644
--- a/kasteroids/ledmeter.h
+++ b/kasteroids/ledmeter.h
@@ -7,15 +7,15 @@
#ifndef __LEDMETER_H__
#define __LEDMETER_H__
-#include <qframe.h>
-#include <qptrlist.h>
+#include <tqframe.h>
+#include <tqptrlist.h>
class KALedMeter : public QFrame
{
Q_OBJECT
public:
- KALedMeter( QWidget *parent );
+ KALedMeter( TQWidget *parent );
int range() const { return mRange; }
void setRange( int r );
@@ -25,14 +25,14 @@ public:
int value () const { return mValue; }
- void addColorRange( int pc, const QColor &c );
+ void addColorRange( int pc, const TQColor &c );
public slots:
void setValue( int v );
protected:
- virtual void resizeEvent( QResizeEvent * );
- virtual void drawContents( QPainter * );
+ virtual void resizeEvent( TQResizeEvent * );
+ virtual void drawContents( TQPainter * );
void calcColorRanges();
protected:
@@ -40,14 +40,14 @@ protected:
{
int mPc;
int mValue;
- QColor mColor;
+ TQColor mColor;
};
int mRange;
int mCount;
int mCurrentCount;
int mValue;
- QPtrList<ColorRange> mCRanges;
+ TQPtrList<ColorRange> mCRanges;
};
#endif