summaryrefslogtreecommitdiffstats
path: root/libkdegames/kstdgameaction.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 /libkdegames/kstdgameaction.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 'libkdegames/kstdgameaction.h')
-rw-r--r--libkdegames/kstdgameaction.h52
1 files changed, 26 insertions, 26 deletions
diff --git a/libkdegames/kstdgameaction.h b/libkdegames/kstdgameaction.h
index 3ef24dc2..cae5d81c 100644
--- a/libkdegames/kstdgameaction.h
+++ b/libkdegames/kstdgameaction.h
@@ -79,15 +79,15 @@ public:
*/
static KAction* create( StdGameAction id, const char *name,
const TQObject *recvr, const char *slot,
- KActionCollection* parent );
+ KActionCollection* tqparent );
/**
* @since 3.2
*/
static KAction* create( StdGameAction id,
const TQObject *recvr, const char *slot,
- KActionCollection* parent )
- { return create( id, 0, recvr, slot, parent ); }
+ KActionCollection* tqparent )
+ { return create( id, 0, recvr, slot, tqparent ); }
/**
@@ -96,7 +96,7 @@ public:
* @deprecated
*/
static KAction *action(StdGameAction act_enum, const TQObject *recvr = 0,
- const char *slot = 0, KActionCollection *parent = 0,
+ const char *slot = 0, KActionCollection *tqparent = 0,
const char *name = 0L );
/**
@@ -115,43 +115,43 @@ public:
* Start a new game
**/
static KAction *gameNew(const TQObject *recvr = 0, const char *slot = 0,
- KActionCollection *parent = 0, const char *name = 0L );
+ KActionCollection *tqparent = 0, const char *name = 0L );
/**
* Load a previousely saved game
*/
static KAction *load(const TQObject *recvr = 0, const char *slot = 0,
- KActionCollection *parent = 0, const char *name = 0L );
+ KActionCollection *tqparent = 0, const char *name = 0L );
/**
* Load a recently loaded game.
*/
static KRecentFilesAction *loadRecent(const TQObject *recvr = 0, const char *slot = 0,
- KActionCollection *parent = 0, const char *name = 0L );
+ KActionCollection *tqparent = 0, const char *name = 0L );
/**
* Save the current game.
*/
static KAction *save(const TQObject *recvr = 0, const char *slot = 0,
- KActionCollection *parent = 0, const char *name = 0L );
+ KActionCollection *tqparent = 0, const char *name = 0L );
/**
* Save the current game under a different filename.
*/
static KAction *saveAs(const TQObject *recvr = 0, const char *slot = 0,
- KActionCollection *parent = 0, const char *name = 0L );
+ KActionCollection *tqparent = 0, const char *name = 0L );
/**
* Pause the game
**/
static KToggleAction *pause(const TQObject *recvr = 0, const char *slot = 0,
- KActionCollection *parent = 0, const char *name = 0L );
+ KActionCollection *tqparent = 0, const char *name = 0L );
/**
* Show the highscores.
*/
static KAction *highscores(const TQObject *recvr = 0, const char *slot = 0,
- KActionCollection *parent = 0, const char *name = 0L );
+ KActionCollection *tqparent = 0, const char *name = 0L );
/**
@@ -159,20 +159,20 @@ public:
* entry.
*/
static KAction *end(const TQObject *recvr = 0, const char *slot = 0,
- KActionCollection *parent = 0, const char *name = 0L );
+ KActionCollection *tqparent = 0, const char *name = 0L );
/**
* Print the current screen? Game? Whatever - hardly used in games but there
* is at least one example (ktuberling)
*/
static KAction *print(const TQObject *recvr = 0, const char *slot = 0,
- KActionCollection *parent = 0, const char *name = 0L );
+ KActionCollection *tqparent = 0, const char *name = 0L );
/**
* Quit the game.
*/
static KAction *quit(const TQObject *recvr = 0, const char *slot = 0,
- KActionCollection *parent = 0, const char *name = 0L );
+ KActionCollection *tqparent = 0, const char *name = 0L );
@@ -180,81 +180,81 @@ public:
* Repeat the last move.
**/
static KAction *repeat(const TQObject *recvr = 0, const char *slot = 0,
- KActionCollection *parent = 0, const char *name = 0L );
+ KActionCollection *tqparent = 0, const char *name = 0L );
/**
* Undo the last move
**/
static KAction *undo(const TQObject *recvr = 0, const char *slot = 0,
- KActionCollection *parent = 0, const char *name = 0L );
+ KActionCollection *tqparent = 0, const char *name = 0L );
/**
* Redo the last move (which has been undone)
**/
static KAction *redo(const TQObject *recvr = 0, const char *slot = 0,
- KActionCollection *parent = 0, const char *name = 0L );
+ KActionCollection *tqparent = 0, const char *name = 0L );
/**
* Roll die or dice
**/
static KAction *roll(const TQObject *recvr = 0, const char *slot = 0,
- KActionCollection *parent = 0, const char *name = 0L );
+ KActionCollection *tqparent = 0, const char *name = 0L );
/**
* End the current turn (not the game). Usually to let the next player
* start
**/
static KAction *endTurn(const TQObject *recvr = 0, const char *slot = 0,
- KActionCollection *parent = 0, const char *name = 0L );
+ KActionCollection *tqparent = 0, const char *name = 0L );
/**
* Display configure carddecks dialog.
*/
static KAction *carddecks(const TQObject *recvr = 0, const char *slot = 0,
- KActionCollection *parent = 0, const char *name = 0L );
+ KActionCollection *tqparent = 0, const char *name = 0L );
/**
* Display configure highscores dialog.
* @since 3.2
*/
static KAction *configureHighscores(const TQObject *recvr = 0, const char *slot = 0,
- KActionCollection *parent = 0, const char *name = 0L );
+ KActionCollection *tqparent = 0, const char *name = 0L );
/**
* Give an advice/hint.
* @since 3.2
*/
static KAction *hint(const TQObject *recvr = 0, const char *slot = 0,
- KActionCollection *parent = 0, const char *name = 0L );
+ KActionCollection *tqparent = 0, const char *name = 0L );
/**
* Show a demo.
* @since 3.2
*/
static KToggleAction *demo(const TQObject *recvr = 0, const char *slot = 0,
- KActionCollection *parent = 0, const char *name = 0L );
+ KActionCollection *tqparent = 0, const char *name = 0L );
/**
* Solve the game.
* @since 3.2
*/
static KAction *solve(const TQObject *recvr = 0, const char *slot = 0,
- KActionCollection *parent = 0, const char *name = 0L );
+ KActionCollection *tqparent = 0, const char *name = 0L );
/**
* Choose game type.
* @since 3.2
*/
static KSelectAction *chooseGameType(const TQObject *recvr = 0, const char *slot = 0,
- KActionCollection *parent = 0, const char *name = 0L );
+ KActionCollection *tqparent = 0, const char *name = 0L );
/**
* Restart game.
* @since 3.2
*/
static KAction *restart(const TQObject *recvr = 0, const char *slot = 0,
- KActionCollection *parent = 0, const char *name = 0L );
+ KActionCollection *tqparent = 0, const char *name = 0L );
};