summaryrefslogtreecommitdiffstats
path: root/kmines/solver/advFastRules.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 /kmines/solver/advFastRules.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 'kmines/solver/advFastRules.cpp')
-rw-r--r--kmines/solver/advFastRules.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/kmines/solver/advFastRules.cpp b/kmines/solver/advFastRules.cpp
index 56b97b72..79c42bba 100644
--- a/kmines/solver/advFastRules.cpp
+++ b/kmines/solver/advFastRules.cpp
@@ -159,9 +159,9 @@ void AdviseFast::RuleSet::addGeneral(Coord p){
int AdviseFast::Rule::leaks = 0;
#endif
-AdviseFast::Rule::Rule(RuleSet *tqparent) :
- _parent(tqparent),
- _facts(tqparent->facts)
+AdviseFast::Rule::Rule(RuleSet *parent) :
+ _parent(parent),
+ _facts(parent->facts)
{
#if defined(DEBUG) && DEBUG >= 2
cout << "Rule::Rule, leaks = " << ++leaks << endl;
@@ -177,8 +177,8 @@ AdviseFast::Rule::~Rule()
AdviseFast::GeneralRule::GeneralRule(
Coord fact,
- RuleSet *tqparent) :
- Rule(tqparent),
+ RuleSet *parent) :
+ Rule(parent),
_fact(fact)
{}
@@ -242,8 +242,8 @@ bool AdviseFast::GeneralRule::apply(CoordSet *)
AdviseFast::EmptyRule::EmptyRule(
Coord fact,
- RuleSet *tqparent) :
- Rule(tqparent),
+ RuleSet *parent) :
+ Rule(parent),
_fact(fact)
{}
@@ -285,8 +285,8 @@ bool AdviseFast::EmptyRule::apply(
AdviseFast::FullRule::FullRule(
Coord fact,
- RuleSet *tqparent) :
- Rule(tqparent),
+ RuleSet *parent) :
+ Rule(parent),
_fact(fact)
{}
@@ -336,8 +336,8 @@ bool AdviseFast::FullRule::apply(
AdviseFast::InclusionRule::InclusionRule(
Coord bigger, Coord smaller,
- RuleSet *tqparent) :
- Rule(tqparent),
+ RuleSet *parent) :
+ Rule(parent),
_bigger(bigger), _smaller(smaller)
{}
@@ -402,8 +402,8 @@ bool AdviseFast::InclusionRule::apply(
AdviseFast::IntersectionRule::IntersectionRule(
Coord bigger, Coord smaller,
- RuleSet *tqparent) :
- Rule(tqparent),
+ RuleSet *parent) :
+ Rule(parent),
_bigger(bigger), _smaller(smaller)
{}