summaryrefslogtreecommitdiffstats
path: root/kolf/kolf.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 /kolf/kolf.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 'kolf/kolf.h')
-rw-r--r--kolf/kolf.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/kolf/kolf.h b/kolf/kolf.h
index 8a2c6d78..035448ab 100644
--- a/kolf/kolf.h
+++ b/kolf/kolf.h
@@ -4,11 +4,11 @@
#include <kmainwindow.h>
#include <kurl.h>
-#include <qmap.h>
-#include <qptrlist.h>
-#include <qstring.h>
-#include <qwidget.h>
-#include <qvaluelist.h>
+#include <tqmap.h>
+#include <tqptrlist.h>
+#include <tqstring.h>
+#include <tqwidget.h>
+#include <tqvaluelist.h>
#include <kdemacros.h>
#include "game.h"
@@ -59,10 +59,10 @@ protected slots:
void setHoleFocus() { game->setFocus(); }
void inPlayStart();
void inPlayEnd();
- void maxStrokesReached(const QString &);
+ void maxStrokesReached(const TQString &);
void updateHoleMenu(int);
- void titleChanged(const QString &);
- void newStatusText(const QString &);
+ void titleChanged(const TQString &);
+ void newStatusText(const TQString &);
void showInfoChanged(bool);
void useMouseChanged(bool);
void useAdvancedPuttingChanged(bool);
@@ -79,15 +79,15 @@ protected slots:
void setCurrentHole(int);
private:
- QWidget *dummy;
+ TQWidget *dummy;
KolfGame *game;
Editor *editor;
KolfGame *spacer;
void initGUI();
- QString filename;
+ TQString filename;
PlayerList players;
PlayerList spacerPlayers;
- QGridLayout *layout;
+ TQGridLayout *layout;
ScoreBoard *scoreboard;
KToggleAction *editingAction;
KAction *newHoleAction;
@@ -127,21 +127,21 @@ private:
// contains subset of obj
ObjectList plugins;
- QString loadedGame;
+ TQString loadedGame;
bool isTutorial;
bool courseModified;
- QString title;
- QString tempStatusBarText;
+ TQString title;
+ TQString tempStatusBarText;
};
struct HighScore
{
HighScore() {}
- HighScore(const QString &name, int score) { this->name = name; this->score = score; }
- QString name;
+ HighScore(const TQString &name, int score) { this->name = name; this->score = score; }
+ TQString name;
int score;
};
-typedef QValueList<HighScore> HighScoreList;
+typedef TQValueList<HighScore> HighScoreList;
#endif