summaryrefslogtreecommitdiffstats
path: root/kbackgammon/engines/offline/kbgoffline.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kbackgammon/engines/offline/kbgoffline.cpp')
-rw-r--r--kbackgammon/engines/offline/kbgoffline.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kbackgammon/engines/offline/kbgoffline.cpp b/kbackgammon/engines/offline/kbgoffline.cpp
index 8dd93a7c..604d196e 100644
--- a/kbackgammon/engines/offline/kbgoffline.cpp
+++ b/kbackgammon/engines/offline/kbgoffline.cpp
@@ -106,8 +106,8 @@ public:
/*
* Constructor
*/
-KBgEngineOffline::KBgEngineOffline(TQWidget *tqparent, TQString *name, TQPopupMenu *pmenu)
- : KBgEngine(tqparent, name, pmenu)
+KBgEngineOffline::KBgEngineOffline(TQWidget *parent, TQString *name, TQPopupMenu *pmenu)
+ : KBgEngine(parent, name, pmenu)
{
d = new KBgEngineOfflinePrivate();
@@ -282,7 +282,7 @@ void KBgEngineOffline::newGame()
/*
* If there is a game running we warn the user first
*/
- if (d->mGameFlag && (KMessageBox::warningYesNo((TQWidget *)tqparent(),
+ if (d->mGameFlag && (KMessageBox::warningYesNo((TQWidget *)parent(),
i18n("A game is currently in progress. "
"Starting a new one will terminate it."),
TQString(), i18n("Start New Game"),
@@ -397,7 +397,7 @@ bool KBgEngineOffline::queryPlayerName(int w)
}
do {
- *name = KLineEditDlg::getText(text, *name, &ret, (TQWidget *)tqparent());
+ *name = KLineEditDlg::getText(text, *name, &ret, (TQWidget *)parent());
if (!ret) break;
} while (name->isEmpty());
@@ -645,7 +645,7 @@ void KBgEngineOffline::cube()
if (d->mRollFlag && d->mGame[0].cube(w) > 0) {
emit allowCommand(Cube, false);
- if (KMessageBox::questionYesNo((TQWidget *)tqparent(),
+ if (KMessageBox::questionYesNo((TQWidget *)parent(),
i18n("%1 has doubled. %2, do you accept the double?").
arg((w == THEM) ? d->mName[1] : d->mName[0]).
arg((w == US) ? d->mName[1] : d->mName[0]),
@@ -695,7 +695,7 @@ bool KBgEngineOffline::queryClose()
if (!d->mGameFlag)
return true;
- switch (KMessageBox::warningContinueCancel((TQWidget *)tqparent(),
+ switch (KMessageBox::warningContinueCancel((TQWidget *)parent(),
i18n("In the middle of a game. "
"Really quit?"), TQString(), KStdGuiItem::quit())) {
case KMessageBox::Continue :