summaryrefslogtreecommitdiffstats
path: root/kpat/dealer.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 /kpat/dealer.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 'kpat/dealer.cpp')
-rw-r--r--kpat/dealer.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kpat/dealer.cpp b/kpat/dealer.cpp
index c1ae25e7..d3cdecad 100644
--- a/kpat/dealer.cpp
+++ b/kpat/dealer.cpp
@@ -116,7 +116,7 @@ void Dealer::setupActions() {
ahint = new KAction( i18n("&Hint"), TQString::tqfromLatin1("wizard"), Key_H, TQT_TQOBJECT(this),
TQT_SLOT(hint()),
- tqparent()->actionCollection(), "game_hint");
+ parent()->actionCollection(), "game_hint");
actionlist.append(ahint);
} else
ahint = 0;
@@ -124,7 +124,7 @@ void Dealer::setupActions() {
if (actions() & Dealer::Demo) {
ademo = new KToggleAction( i18n("&Demo"), TQString::tqfromLatin1("1rightarrow"), CTRL+Key_D, TQT_TQOBJECT(this),
TQT_SLOT(toggleDemo()),
- tqparent()->actionCollection(), "game_demo");
+ parent()->actionCollection(), "game_demo");
actionlist.append(ademo);
} else
ademo = 0;
@@ -132,12 +132,12 @@ void Dealer::setupActions() {
if (actions() & Dealer::Redeal) {
aredeal = new KAction (i18n("&Redeal"), TQString::tqfromLatin1("queue"), 0, TQT_TQOBJECT(this),
TQT_SLOT(redeal()),
- tqparent()->actionCollection(), "game_redeal");
+ parent()->actionCollection(), "game_redeal");
actionlist.append(aredeal);
} else
aredeal = 0;
- tqparent()->guiFactory()->plugActionList( tqparent(), TQString::tqfromLatin1("game_actions"), actionlist);
+ parent()->guiFactory()->plugActionList( parent(), TQString::tqfromLatin1("game_actions"), actionlist);
}
Dealer::~Dealer()
@@ -145,7 +145,7 @@ Dealer::~Dealer()
if (!_won)
countLoss();
clearHints();
- tqparent()->guiFactory()->unplugActionList( tqparent(), TQString::tqfromLatin1("game_actions"));
+ parent()->guiFactory()->unplugActionList( parent(), TQString::tqfromLatin1("game_actions"));
while (!piles.isEmpty())
delete piles.first(); // removes itself
@@ -154,9 +154,9 @@ Dealer::~Dealer()
s_instance = 0;
}
-KMainWindow *Dealer::tqparent() const
+KMainWindow *Dealer::parent() const
{
- return dynamic_cast<KMainWindow*>(TQCanvasView::tqparent());
+ return dynamic_cast<KMainWindow*>(TQCanvasView::parent());
}
@@ -735,7 +735,7 @@ State *Dealer::getState()
s.it = c;
s.source = c->source();
if (!s.source) {
- kdDebug(11111) << c->name() << " has no tqparent\n";
+ kdDebug(11111) << c->name() << " has no parent\n";
assert(false);
}
s.source_index = c->source()->indexOf(c);