summaryrefslogtreecommitdiffstats
path: root/kbackgammon/engines/gnubg/kbggnubg.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commita13e26c2f1eb3c5be81acf4f571dd4bafac10199 (patch)
tree1f1d3e407ae668b1448847970b2f1b626083faf6 /kbackgammon/engines/gnubg/kbggnubg.cpp
parent24c5cdc2737fe0044b11a12359606973eb93fc0b (diff)
downloadtdegames-a13e26c2f1eb3c5be81acf4f571dd4bafac10199.tar.gz
tdegames-a13e26c2f1eb3c5be81acf4f571dd4bafac10199.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kbackgammon/engines/gnubg/kbggnubg.cpp')
-rw-r--r--kbackgammon/engines/gnubg/kbggnubg.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kbackgammon/engines/gnubg/kbggnubg.cpp b/kbackgammon/engines/gnubg/kbggnubg.cpp
index 1ddc3664..3ad42dd7 100644
--- a/kbackgammon/engines/gnubg/kbggnubg.cpp
+++ b/kbackgammon/engines/gnubg/kbggnubg.cpp
@@ -275,7 +275,7 @@ void KBgEngineGNU::newGame()
/*
* If there is a game running we warn the user first
*/
- if (gameRunning && (KMessageBox::warningYesNo((TQWidget *)tqparent(),
+ if (gameRunning && (KMessageBox::warningYesNo((TQWidget *)parent(),
i18n("A game is currently in progress. "
"Starting a new one will terminate it."),
TQString(), i18n("Start New Game"), i18n("Continue Old Game"))
@@ -422,8 +422,8 @@ void KBgEngineGNU::saveConfig()
/*
* Constructor
*/
-KBgEngineGNU::KBgEngineGNU(TQWidget *tqparent, TQString *name, TQPopupMenu *pmenu)
- : KBgEngine(tqparent, name, pmenu)
+KBgEngineGNU::KBgEngineGNU(TQWidget *parent, TQString *name, TQPopupMenu *pmenu)
+ : KBgEngine(parent, name, pmenu)
{
// obsolete
nameUS = "US";
@@ -503,7 +503,7 @@ void KBgEngineGNU::startGNU()
resAction->setEnabled(false);
if (!gnubg.start(KProcess::NotifyOnExit, KProcess::All))
- KMessageBox::information((TQWidget *)tqparent(),
+ KMessageBox::information((TQWidget *)parent(),
i18n("Could not start the GNU Backgammon process.\n"
"Make sure the program is in your PATH and is "
"called \"gnubg\".\n"