summaryrefslogtreecommitdiffstats
path: root/kmines/field.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:58:26 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:58:26 +0000
commit838baf3f99ec5ab81b063eb5449a3381d860f377 (patch)
treedd31abcfde08ca92e4623b8f50b3d762a87c997a /kmines/field.h
parent2bf598bafa22fac4126fc8842df6b0119aadc0e9 (diff)
downloadtdegames-838baf3f99ec5ab81b063eb5449a3381d860f377.tar.gz
tdegames-838baf3f99ec5ab81b063eb5449a3381d860f377.zip
TQt4 port kdegames
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1236074 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmines/field.h')
-rw-r--r--kmines/field.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/kmines/field.h b/kmines/field.h
index 7e079d65..4d17358f 100644
--- a/kmines/field.h
+++ b/kmines/field.h
@@ -27,6 +27,7 @@
class Field : public FieldFrame, public BaseField
{
Q_OBJECT
+ TQ_OBJECT
public:
enum ActionType { Reveal = 0, AutoReveal, SetFlag, UnsetFlag, SetUncertain,
UnsetUncertain, Nb_Actions };
@@ -36,9 +37,9 @@ class Field : public FieldFrame, public BaseField
static const ActionData ACTION_DATA[Nb_Actions];
public:
- Field(TQWidget *parent);
+ Field(TQWidget *tqparent);
- virtual TQSize sizeHint() const;
+ virtual TQSize tqsizeHint() const;
void setLevel(const Level &level);
void setReplayField(const TQString &field);
@@ -67,7 +68,7 @@ class Field : public FieldFrame, public BaseField
SolvingState solvingState() const { return _solvingState; }
signals:
- void updateStatus(bool);
+ void updatetqStatus(bool);
void gameStateChanged(GameState);
void setMood(Mood);
void setCheating();