summaryrefslogtreecommitdiffstats
path: root/kmrml/kmrml/mrml_elements.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
commite7366c97c998679efa80cf61c88e64a11a3d3c33 (patch)
treea161d2940165f6cc47c05f0271ad8e5f64ffe6e8 /kmrml/kmrml/mrml_elements.cpp
parentda4be7880ff1de6415ab6256afd2514e64f5fa2e (diff)
downloadtdegraphics-e7366c97c998679efa80cf61c88e64a11a3d3c33.tar.gz
tdegraphics-e7366c97c998679efa80cf61c88e64a11a3d3c33.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmrml/kmrml/mrml_elements.cpp')
-rw-r--r--kmrml/kmrml/mrml_elements.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kmrml/kmrml/mrml_elements.cpp b/kmrml/kmrml/mrml_elements.cpp
index ae7ddeee..8700ed43 100644
--- a/kmrml/kmrml/mrml_elements.cpp
+++ b/kmrml/kmrml/mrml_elements.cpp
@@ -144,11 +144,11 @@ Algorithm Algorithm::defaultAlgorithm()
return algo;
}
-TQDomElement Algorithm::toElement( TQDomElement& tqparent ) const
+TQDomElement Algorithm::toElement( TQDomElement& parent ) const
{
- TQDomDocument doc = tqparent.ownerDocument();
+ TQDomDocument doc = parent.ownerDocument();
TQDomElement algorithm = doc.createElement( MrmlShared::algorithm() );
- tqparent.appendChild( algorithm );
+ parent.appendChild( algorithm );
setOtherAttributes( algorithm );
if ( !m_name.isEmpty() )
@@ -242,12 +242,12 @@ bool QueryParadigmList::matches( const QueryParadigmList& other ) const
///////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////
-TQValueList<TQDomElement> KMrml::directChildElements( const TQDomElement& tqparent,
+TQValueList<TQDomElement> KMrml::directChildElements( const TQDomElement& parent,
const TQString& tagName )
{
TQValueList<TQDomElement> list;
- TQDomNode node = tqparent.firstChild();
+ TQDomNode node = parent.firstChild();
while ( !node.isNull() )
{
if ( node.isElement() && node.nodeName() == tagName )
@@ -259,10 +259,10 @@ TQValueList<TQDomElement> KMrml::directChildElements( const TQDomElement& tqpare
return list;
}
-TQDomElement KMrml::firstChildElement( const TQDomElement& tqparent,
+TQDomElement KMrml::firstChildElement( const TQDomElement& parent,
const TQString& tagName )
{
- TQDomNode node = tqparent.firstChild();
+ TQDomNode node = parent.firstChild();
while ( !node.isNull() )
{
if ( node.isElement() && node.nodeName() == tagName )