summaryrefslogtreecommitdiffstats
path: root/konquest/planet_info.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 /konquest/planet_info.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 'konquest/planet_info.h')
-rw-r--r--konquest/planet_info.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/konquest/planet_info.h b/konquest/planet_info.h
index 4080f6b9..3408a499 100644
--- a/konquest/planet_info.h
+++ b/konquest/planet_info.h
@@ -1,10 +1,10 @@
#ifndef _PLANET_INFO_H_
#define _PLANET_INFO_H_
-#include <qframe.h>
-#include <qstring.h>
-#include <qptrlist.h>
-#include <qpalette.h>
+#include <tqframe.h>
+#include <tqstring.h>
+#include <tqptrlist.h>
+#include <tqpalette.h>
#include "gamecore.h"
@@ -17,20 +17,20 @@ struct planet_info_buffer {
float killRate;
};
-typedef QPtrList<planet_info_buffer> PlanetInfoList;
-typedef QPtrListIterator<planet_info_buffer> PlanetInfoListIterator;
+typedef TQPtrList<planet_info_buffer> PlanetInfoList;
+typedef TQPtrListIterator<planet_info_buffer> PlanetInfoListIterator;
class PlanetInfo : public QFrame
{
Q_OBJECT
public:
- PlanetInfo( QWidget *parent, QPalette palette );
+ PlanetInfo( TQWidget *parent, TQPalette palette );
virtual ~PlanetInfo();
void setPlanetList( PlanetList &newPlanets );
void rescanPlanets();
- QSize sizeHint() const;
+ TQSize sizeHint() const;
public slots:
void showPlanet( Planet * );
@@ -42,11 +42,11 @@ private:
PlanetList *planets;
PlanetInfoList planet_stats;
- QLabel *name;
- QLabel *owner;
- QLabel *ships;
- QLabel *production;
- QLabel *kill_percent;
+ TQLabel *name;
+ TQLabel *owner;
+ TQLabel *ships;
+ TQLabel *production;
+ TQLabel *kill_percent;
};
#endif // _PLANET_INFO_H_