summaryrefslogtreecommitdiffstats
path: root/noatun-plugins/oblique/query.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
commit90363652674deb94cd07057428b24fcb1735dbce (patch)
tree35013223cb731f194f8584cc1c06a023c3c75c85 /noatun-plugins/oblique/query.cpp
parent627b091fad9df13695f249588e8a58f524eda0fa (diff)
downloadtdeaddons-90363652674deb94cd07057428b24fcb1735dbce.tar.gz
tdeaddons-90363652674deb94cd07057428b24fcb1735dbce.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'noatun-plugins/oblique/query.cpp')
-rw-r--r--noatun-plugins/oblique/query.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/noatun-plugins/oblique/query.cpp b/noatun-plugins/oblique/query.cpp
index dd73d66..d53437e 100644
--- a/noatun-plugins/oblique/query.cpp
+++ b/noatun-plugins/oblique/query.cpp
@@ -283,10 +283,10 @@ Query &Query::operator =(const Query &copy)
if (&copy == this) return *this;
delete mGroupFirst;
mGroupFirst=0;
- if (const QueryGroup *tqparent = copy.firstChild())
+ if (const QueryGroup *parent = copy.firstChild())
{
- mGroupFirst = new QueryGroup(*tqparent);
- deepCopy(tqparent->firstChild(), mGroupFirst);
+ mGroupFirst = new QueryGroup(*parent);
+ deepCopy(parent->firstChild(), mGroupFirst);
}
return *this;
}
@@ -438,17 +438,17 @@ void Query::dump()
-void Query::loadGroup(TQDomElement element, QueryGroup *tqparent)
+void Query::loadGroup(TQDomElement element, QueryGroup *parent)
{
TQDomNode node = element.firstChild();
QueryGroup *group = new QueryGroup;
- if (tqparent)
+ if (parent)
{
- if (QueryGroup *last = tqparent->lastChild())
+ if (QueryGroup *last = parent->lastChild())
last->setNextSibling(group);
else
- tqparent->setFirstChild(group);
+ parent->setFirstChild(group);
}
else
{
@@ -500,11 +500,11 @@ void Query::loadGroup(TQDomElement element, QueryGroup *tqparent)
}
}
-void Query::saveGroup(TQDomElement &tqparent, QueryGroup *group)
+void Query::saveGroup(TQDomElement &parent, QueryGroup *group)
{
- TQDomDocument doc = tqparent.ownerDocument();
+ TQDomDocument doc = parent.ownerDocument();
TQDomElement element = doc.createElement("group");
- tqparent.appendChild(element);
+ parent.appendChild(element);
TQDomElement childe;
TQDomText childtext;