summaryrefslogtreecommitdiffstats
path: root/lib/compatibility/knewstuff/entry.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
commit6c79d50fa9fbdff7f69ca57a8ab5fcc942375593 (patch)
treef47737d56c3239a0d8bc600674f0ca04b6e30d6e /lib/compatibility/knewstuff/entry.cpp
parent36c36b53a129509d56fdaa0a7c9fcbcacd0c5826 (diff)
downloadtdewebdev-6c79d50fa9fbdff7f69ca57a8ab5fcc942375593.tar.gz
tdewebdev-6c79d50fa9fbdff7f69ca57a8ab5fcc942375593.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lib/compatibility/knewstuff/entry.cpp')
-rw-r--r--lib/compatibility/knewstuff/entry.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/compatibility/knewstuff/entry.cpp b/lib/compatibility/knewstuff/entry.cpp
index ba08f345..0f3b98b4 100644
--- a/lib/compatibility/knewstuff/entry.cpp
+++ b/lib/compatibility/knewstuff/entry.cpp
@@ -252,11 +252,11 @@ void Entry::parseDomElement( const TQDomElement &element )
}
TQDomElement Entry::createDomElement( TQDomDocument &doc,
- TQDomElement &tqparent )
+ TQDomElement &parent )
{
TQDomElement entry = doc.createElement( "stuff" );
entry.setAttribute("type", mType);
- tqparent.appendChild( entry );
+ parent.appendChild( entry );
addElement( doc, entry, "name", name() );
addElement( doc, entry, "author", author() );
@@ -283,12 +283,12 @@ TQDomElement Entry::createDomElement( TQDomDocument &doc,
return entry;
}
-TQDomElement Entry::addElement( TQDomDocument &doc, TQDomElement &tqparent,
+TQDomElement Entry::addElement( TQDomDocument &doc, TQDomElement &parent,
const TQString &tag, const TQString &value )
{
TQDomElement n = doc.createElement( tag );
n.appendChild( doc.createTextNode( value ) );
- tqparent.appendChild( n );
+ parent.appendChild( n );
return n;
}