summaryrefslogtreecommitdiffstats
path: root/kasteroids/ledmeter.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:42:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:42:31 +0000
commit576eb4299a00bc053db35414406f46372a0f70f2 (patch)
tree4c030922d533821db464af566188e7d40cc8848c /kasteroids/ledmeter.h
parent0718336b6017d1a4fc1d626544180a5a2a29ddec (diff)
downloadtdegames-576eb4299a00bc053db35414406f46372a0f70f2.tar.gz
tdegames-576eb4299a00bc053db35414406f46372a0f70f2.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1157643 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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