summaryrefslogtreecommitdiffstats
path: root/libkdegames/kstdgameaction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkdegames/kstdgameaction.cpp')
-rw-r--r--libkdegames/kstdgameaction.cpp104
1 files changed, 52 insertions, 52 deletions
diff --git a/libkdegames/kstdgameaction.cpp b/libkdegames/kstdgameaction.cpp
index 4eb54bba..2aeb412e 100644
--- a/libkdegames/kstdgameaction.cpp
+++ b/libkdegames/kstdgameaction.cpp
@@ -33,10 +33,10 @@ KStdGameAction::~KStdGameAction()
{}
KAction *KStdGameAction::action(StdGameAction act_enum, const TQObject *recvr,
- const char *slot, KActionCollection *tqparent,
+ const char *slot, KActionCollection *parent,
const char *name)
{
- return create( act_enum, name, recvr, slot, tqparent );
+ return create( act_enum, name, recvr, slot, parent );
}
const char* KStdGameAction::stdName(StdGameAction act_enum)
@@ -97,11 +97,11 @@ static const KStdGameActionInfo* infoPtr( KStdGameAction::StdGameAction id )
KAction* KStdGameAction::create(StdGameAction id, const char *name,
const TQObject *recvr, const char *slot,
- KActionCollection* tqparent )
+ KActionCollection* parent )
{
KAction* pAction = 0;
const KStdGameActionInfo* pInfo = infoPtr( id );
- kdDebug(125) << "KStdGameAction::create( " << id << "=" << (pInfo ? pInfo->psName : (const char*)0) << ", " << tqparent << ", " << name << " )" << endl;
+ kdDebug(125) << "KStdGameAction::create( " << id << "=" << (pInfo ? pInfo->psName : (const char*)0) << ", " << parent << ", " << name << " )" << endl;
if( pInfo ) {
TQString sLabel = i18n(pInfo->psLabel);
KShortcut cut = (pInfo->globalAccel==KStdAccel::AccelNone
@@ -111,20 +111,20 @@ KAction* KStdGameAction::create(StdGameAction id, const char *name,
switch( id ) {
case LoadRecent:
pAction =
- new KRecentFilesAction(sLabel, cut, recvr, slot, tqparent, n);
+ new KRecentFilesAction(sLabel, cut, recvr, slot, parent, n);
break;
case Pause:
case Demo:
pAction = new KToggleAction( sLabel, pInfo->psIconName, cut,
- recvr, slot, tqparent, n);
+ recvr, slot, parent, n);
break;
case ChooseGameType:
pAction = new KSelectAction( sLabel, pInfo->psIconName, cut,
- recvr, slot, tqparent, n);
+ recvr, slot, parent, n);
break;
default:
pAction = new KAction( sLabel, pInfo->psIconName, cut,
- recvr, slot, tqparent, n);
+ recvr, slot, parent, n);
break;
}
}
@@ -138,72 +138,72 @@ const char* KStdGameAction::name( StdGameAction id )
}
KAction *KStdGameAction::gameNew(const TQObject *recvr, const char *slot,
- KActionCollection *tqparent, const char *name )
-{ return KStdGameAction::create(New, name, recvr, slot, tqparent); }
+ KActionCollection *parent, const char *name )
+{ return KStdGameAction::create(New, name, recvr, slot, parent); }
KAction *KStdGameAction::load(const TQObject *recvr, const char *slot,
- KActionCollection *tqparent, const char *name )
-{ return KStdGameAction::create(Load, name, recvr, slot, tqparent); }
+ KActionCollection *parent, const char *name )
+{ return KStdGameAction::create(Load, name, recvr, slot, parent); }
KRecentFilesAction *KStdGameAction::loadRecent(const TQObject *recvr, const char *slot,
- KActionCollection *tqparent, const char *name )
-{ return static_cast<KRecentFilesAction *>(KStdGameAction::create(LoadRecent, name, recvr, slot, tqparent)); }
+ KActionCollection *parent, const char *name )
+{ return static_cast<KRecentFilesAction *>(KStdGameAction::create(LoadRecent, name, recvr, slot, parent)); }
KAction *KStdGameAction::save(const TQObject *recvr, const char *slot,
- KActionCollection *tqparent, const char *name )
-{ return KStdGameAction::create(Save, name, recvr, slot, tqparent); }
+ KActionCollection *parent, const char *name )
+{ return KStdGameAction::create(Save, name, recvr, slot, parent); }
KAction *KStdGameAction::saveAs(const TQObject *recvr, const char *slot,
- KActionCollection *tqparent, const char *name )
-{ return KStdGameAction::create(SaveAs, name, recvr, slot, tqparent); }
+ KActionCollection *parent, const char *name )
+{ return KStdGameAction::create(SaveAs, name, recvr, slot, parent); }
KAction *KStdGameAction::end(const TQObject *recvr, const char *slot,
- KActionCollection *tqparent, const char *name )
-{ return KStdGameAction::create(End, name, recvr, slot, tqparent); }
+ KActionCollection *parent, const char *name )
+{ return KStdGameAction::create(End, name, recvr, slot, parent); }
KToggleAction *KStdGameAction::pause(const TQObject *recvr, const char *slot,
- KActionCollection *tqparent, const char *name )
-{ return static_cast<KToggleAction *>(KStdGameAction::create(Pause, name, recvr, slot, tqparent)); }
+ KActionCollection *parent, const char *name )
+{ return static_cast<KToggleAction *>(KStdGameAction::create(Pause, name, recvr, slot, parent)); }
KAction *KStdGameAction::highscores(const TQObject *recvr, const char *slot,
- KActionCollection *tqparent, const char *name )
-{ return KStdGameAction::create(Highscores, name, recvr, slot, tqparent); }
+ KActionCollection *parent, const char *name )
+{ return KStdGameAction::create(Highscores, name, recvr, slot, parent); }
KAction *KStdGameAction::print(const TQObject *recvr, const char *slot,
- KActionCollection *tqparent, const char *name )
-{ return KStdGameAction::create(Print, name, recvr, slot, tqparent); }
+ KActionCollection *parent, const char *name )
+{ return KStdGameAction::create(Print, name, recvr, slot, parent); }
KAction *KStdGameAction::quit(const TQObject *recvr, const char *slot,
- KActionCollection *tqparent, const char *name )
-{ return KStdGameAction::create(Quit, name, recvr, slot, tqparent); }
+ KActionCollection *parent, const char *name )
+{ return KStdGameAction::create(Quit, name, recvr, slot, parent); }
KAction *KStdGameAction::repeat(const TQObject *recvr, const char *slot,
- KActionCollection *tqparent, const char *name )
-{ return KStdGameAction::create(Repeat, name, recvr, slot, tqparent); }
+ KActionCollection *parent, const char *name )
+{ return KStdGameAction::create(Repeat, name, recvr, slot, parent); }
KAction *KStdGameAction::undo(const TQObject *recvr, const char *slot,
- KActionCollection *tqparent, const char *name )
-{ return KStdGameAction::create(Undo, name, recvr, slot, tqparent); }
+ KActionCollection *parent, const char *name )
+{ return KStdGameAction::create(Undo, name, recvr, slot, parent); }
KAction *KStdGameAction::redo(const TQObject *recvr, const char *slot,
- KActionCollection *tqparent, const char *name )
-{ return KStdGameAction::create(Redo, name, recvr, slot, tqparent); }
+ KActionCollection *parent, const char *name )
+{ return KStdGameAction::create(Redo, name, recvr, slot, parent); }
KAction *KStdGameAction::roll(const TQObject *recvr, const char *slot,
- KActionCollection *tqparent, const char *name )
-{ return KStdGameAction::create(Roll, name, recvr, slot, tqparent); }
+ KActionCollection *parent, const char *name )
+{ return KStdGameAction::create(Roll, name, recvr, slot, parent); }
KAction *KStdGameAction::endTurn(const TQObject *recvr, const char *slot,
- KActionCollection *tqparent, const char *name )
-{ return KStdGameAction::create(EndTurn, name, recvr, slot, tqparent); }
+ KActionCollection *parent, const char *name )
+{ return KStdGameAction::create(EndTurn, name, recvr, slot, parent); }
KAction *KStdGameAction::carddecks(const TQObject *recvr, const char *slot,
- KActionCollection *tqparent, const char *name )
-{ return KStdGameAction::create(Carddecks, name, recvr, slot, tqparent); }
+ KActionCollection *parent, const char *name )
+{ return KStdGameAction::create(Carddecks, name, recvr, slot, parent); }
KAction *KStdGameAction::configureHighscores(const TQObject*recvr, const char *slot,
- KActionCollection *tqparent, const char *name)
-{ return KStdGameAction::create(ConfigureHighscores, name, recvr, slot, tqparent); }
+ KActionCollection *parent, const char *name)
+{ return KStdGameAction::create(ConfigureHighscores, name, recvr, slot, parent); }
KAction *KStdGameAction::hint(const TQObject*recvr, const char *slot,
- KActionCollection *tqparent, const char *name)
-{ return KStdGameAction::create(Hint, name, recvr, slot, tqparent); }
+ KActionCollection *parent, const char *name)
+{ return KStdGameAction::create(Hint, name, recvr, slot, parent); }
KToggleAction *KStdGameAction::demo(const TQObject*recvr, const char *slot,
- KActionCollection *tqparent, const char *name)
-{ return static_cast<KToggleAction *>(KStdGameAction::create(Demo, name, recvr, slot, tqparent)); }
+ KActionCollection *parent, const char *name)
+{ return static_cast<KToggleAction *>(KStdGameAction::create(Demo, name, recvr, slot, parent)); }
KAction *KStdGameAction::solve(const TQObject*recvr, const char *slot,
- KActionCollection *tqparent, const char *name)
-{ return KStdGameAction::create(Solve, name, recvr, slot, tqparent); }
+ KActionCollection *parent, const char *name)
+{ return KStdGameAction::create(Solve, name, recvr, slot, parent); }
KSelectAction *KStdGameAction::chooseGameType(const TQObject*recvr, const char *slot,
- KActionCollection *tqparent, const char *name)
-{ return static_cast<KSelectAction *>(KStdGameAction::create(ChooseGameType, name, recvr, slot, tqparent)); }
+ KActionCollection *parent, const char *name)
+{ return static_cast<KSelectAction *>(KStdGameAction::create(ChooseGameType, name, recvr, slot, parent)); }
KAction *KStdGameAction::restart(const TQObject*recvr, const char *slot,
- KActionCollection *tqparent, const char *name)
-{ return KStdGameAction::create(Restart, name, recvr, slot, tqparent); }
+ KActionCollection *parent, const char *name)
+{ return KStdGameAction::create(Restart, name, recvr, slot, parent); }