summaryrefslogtreecommitdiffstats
path: root/libkdegames/kstdgameaction.cpp
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 /libkdegames/kstdgameaction.cpp
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 'libkdegames/kstdgameaction.cpp')
-rw-r--r--libkdegames/kstdgameaction.cpp50
1 files changed, 25 insertions, 25 deletions
diff --git a/libkdegames/kstdgameaction.cpp b/libkdegames/kstdgameaction.cpp
index 53b8f16c..f37af6cb 100644
--- a/libkdegames/kstdgameaction.cpp
+++ b/libkdegames/kstdgameaction.cpp
@@ -32,7 +32,7 @@ KStdGameAction::KStdGameAction()
KStdGameAction::~KStdGameAction()
{}
-KAction *KStdGameAction::action(StdGameAction act_enum, const QObject *recvr,
+KAction *KStdGameAction::action(StdGameAction act_enum, const TQObject *recvr,
const char *slot, KActionCollection *parent,
const char *name)
{
@@ -96,14 +96,14 @@ static const KStdGameActionInfo* infoPtr( KStdGameAction::StdGameAction id )
KAction* KStdGameAction::create(StdGameAction id, const char *name,
- const QObject *recvr, const char *slot,
+ const TQObject *recvr, const char *slot,
KActionCollection* parent )
{
KAction* pAction = 0;
const KStdGameActionInfo* pInfo = infoPtr( id );
kdDebug(125) << "KStdGameAction::create( " << id << "=" << (pInfo ? pInfo->psName : (const char*)0) << ", " << parent << ", " << name << " )" << endl;
if( pInfo ) {
- QString sLabel = i18n(pInfo->psLabel);
+ TQString sLabel = i18n(pInfo->psLabel);
KShortcut cut = (pInfo->globalAccel==KStdAccel::AccelNone
? KShortcut(pInfo->shortcut)
: KStdAccel::shortcut(pInfo->globalAccel));
@@ -137,73 +137,73 @@ const char* KStdGameAction::name( StdGameAction id )
return (pInfo) ? pInfo->psName : 0;
}
-KAction *KStdGameAction::gameNew(const QObject *recvr, const char *slot,
+KAction *KStdGameAction::gameNew(const TQObject *recvr, const char *slot,
KActionCollection *parent, const char *name )
{ return KStdGameAction::create(New, name, recvr, slot, parent); }
-KAction *KStdGameAction::load(const QObject *recvr, const char *slot,
+KAction *KStdGameAction::load(const TQObject *recvr, const char *slot,
KActionCollection *parent, const char *name )
{ return KStdGameAction::create(Load, name, recvr, slot, parent); }
-KRecentFilesAction *KStdGameAction::loadRecent(const QObject *recvr, const char *slot,
+KRecentFilesAction *KStdGameAction::loadRecent(const TQObject *recvr, const char *slot,
KActionCollection *parent, const char *name )
{ return static_cast<KRecentFilesAction *>(KStdGameAction::create(LoadRecent, name, recvr, slot, parent)); }
-KAction *KStdGameAction::save(const QObject *recvr, const char *slot,
+KAction *KStdGameAction::save(const TQObject *recvr, const char *slot,
KActionCollection *parent, const char *name )
{ return KStdGameAction::create(Save, name, recvr, slot, parent); }
-KAction *KStdGameAction::saveAs(const QObject *recvr, const char *slot,
+KAction *KStdGameAction::saveAs(const TQObject *recvr, const char *slot,
KActionCollection *parent, const char *name )
{ return KStdGameAction::create(SaveAs, name, recvr, slot, parent); }
-KAction *KStdGameAction::end(const QObject *recvr, const char *slot,
+KAction *KStdGameAction::end(const TQObject *recvr, const char *slot,
KActionCollection *parent, const char *name )
{ return KStdGameAction::create(End, name, recvr, slot, parent); }
-KToggleAction *KStdGameAction::pause(const QObject *recvr, const char *slot,
+KToggleAction *KStdGameAction::pause(const TQObject *recvr, const char *slot,
KActionCollection *parent, const char *name )
{ return static_cast<KToggleAction *>(KStdGameAction::create(Pause, name, recvr, slot, parent)); }
-KAction *KStdGameAction::highscores(const QObject *recvr, const char *slot,
+KAction *KStdGameAction::highscores(const TQObject *recvr, const char *slot,
KActionCollection *parent, const char *name )
{ return KStdGameAction::create(Highscores, name, recvr, slot, parent); }
-KAction *KStdGameAction::print(const QObject *recvr, const char *slot,
+KAction *KStdGameAction::print(const TQObject *recvr, const char *slot,
KActionCollection *parent, const char *name )
{ return KStdGameAction::create(Print, name, recvr, slot, parent); }
-KAction *KStdGameAction::quit(const QObject *recvr, const char *slot,
+KAction *KStdGameAction::quit(const TQObject *recvr, const char *slot,
KActionCollection *parent, const char *name )
{ return KStdGameAction::create(Quit, name, recvr, slot, parent); }
-KAction *KStdGameAction::repeat(const QObject *recvr, const char *slot,
+KAction *KStdGameAction::repeat(const TQObject *recvr, const char *slot,
KActionCollection *parent, const char *name )
{ return KStdGameAction::create(Repeat, name, recvr, slot, parent); }
-KAction *KStdGameAction::undo(const QObject *recvr, const char *slot,
+KAction *KStdGameAction::undo(const TQObject *recvr, const char *slot,
KActionCollection *parent, const char *name )
{ return KStdGameAction::create(Undo, name, recvr, slot, parent); }
-KAction *KStdGameAction::redo(const QObject *recvr, const char *slot,
+KAction *KStdGameAction::redo(const TQObject *recvr, const char *slot,
KActionCollection *parent, const char *name )
{ return KStdGameAction::create(Redo, name, recvr, slot, parent); }
-KAction *KStdGameAction::roll(const QObject *recvr, const char *slot,
+KAction *KStdGameAction::roll(const TQObject *recvr, const char *slot,
KActionCollection *parent, const char *name )
{ return KStdGameAction::create(Roll, name, recvr, slot, parent); }
-KAction *KStdGameAction::endTurn(const QObject *recvr, const char *slot,
+KAction *KStdGameAction::endTurn(const TQObject *recvr, const char *slot,
KActionCollection *parent, const char *name )
{ return KStdGameAction::create(EndTurn, name, recvr, slot, parent); }
-KAction *KStdGameAction::carddecks(const QObject *recvr, const char *slot,
+KAction *KStdGameAction::carddecks(const TQObject *recvr, const char *slot,
KActionCollection *parent, const char *name )
{ return KStdGameAction::create(Carddecks, name, recvr, slot, parent); }
-KAction *KStdGameAction::configureHighscores(const QObject*recvr, const char *slot,
+KAction *KStdGameAction::configureHighscores(const TQObject*recvr, const char *slot,
KActionCollection *parent, const char *name)
{ return KStdGameAction::create(ConfigureHighscores, name, recvr, slot, parent); }
-KAction *KStdGameAction::hint(const QObject*recvr, const char *slot,
+KAction *KStdGameAction::hint(const TQObject*recvr, const char *slot,
KActionCollection *parent, const char *name)
{ return KStdGameAction::create(Hint, name, recvr, slot, parent); }
-KToggleAction *KStdGameAction::demo(const QObject*recvr, const char *slot,
+KToggleAction *KStdGameAction::demo(const TQObject*recvr, const char *slot,
KActionCollection *parent, const char *name)
{ return static_cast<KToggleAction *>(KStdGameAction::create(Demo, name, recvr, slot, parent)); }
-KAction *KStdGameAction::solve(const QObject*recvr, const char *slot,
+KAction *KStdGameAction::solve(const TQObject*recvr, const char *slot,
KActionCollection *parent, const char *name)
{ return KStdGameAction::create(Solve, name, recvr, slot, parent); }
-KSelectAction *KStdGameAction::chooseGameType(const QObject*recvr, const char *slot,
+KSelectAction *KStdGameAction::chooseGameType(const TQObject*recvr, const char *slot,
KActionCollection *parent, const char *name)
{ return static_cast<KSelectAction *>(KStdGameAction::create(ChooseGameType, name, recvr, slot, parent)); }
-KAction *KStdGameAction::restart(const QObject*recvr, const char *slot,
+KAction *KStdGameAction::restart(const TQObject*recvr, const char *slot,
KActionCollection *parent, const char *name)
{ return KStdGameAction::create(Restart, name, recvr, slot, parent); }