summaryrefslogtreecommitdiffstats
path: root/konquest/planet_info.h
diff options
context:
space:
mode:
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_