summaryrefslogtreecommitdiffstats
path: root/lib/compatibility/knewstuff/entry.cpp
diff options
context:
space:
mode:
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;
}