From 5f5ee2367157176ed223b86343eb0a9e4022e020 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:52:55 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1157653 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kregexpeditor/concregexp.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'kregexpeditor/concregexp.cpp') diff --git a/kregexpeditor/concregexp.cpp b/kregexpeditor/concregexp.cpp index 4fac8d0..cefbac4 100644 --- a/kregexpeditor/concregexp.cpp +++ b/kregexpeditor/concregexp.cpp @@ -55,20 +55,20 @@ RegExp* ConcRegExp::lastRegExp() return list.at( list.count()-1); } -QDomNode ConcRegExp::toXml( QDomDocument* doc ) const +TQDomNode ConcRegExp::toXml( TQDomDocument* doc ) const { - QDomElement top = doc->createElement( QString::fromLocal8Bit("Concatenation") ); + TQDomElement top = doc->createElement( TQString::fromLocal8Bit("Concatenation") ); for ( RegExpListIt it(list); *it; ++it ) { top.appendChild( (*it)->toXml( doc ) ); } return top; } -bool ConcRegExp::load( QDomElement top, const QString& version ) +bool ConcRegExp::load( TQDomElement top, const TQString& version ) { - Q_ASSERT( top.tagName() == QString::fromLocal8Bit( "Concatenation" ) ); + Q_ASSERT( top.tagName() == TQString::fromLocal8Bit( "Concatenation" ) ); - for ( QDomNode child = top.firstChild(); !child.isNull(); child = child.nextSibling() ) { + for ( TQDomNode child = top.firstChild(); !child.isNull(); child = child.nextSibling() ) { if ( ! child.isElement() ) continue; // User might have added a comment. @@ -84,7 +84,7 @@ bool ConcRegExp::operator==( const RegExp& other ) const { // TODO: Merge with AltnRegExp::operator== if ( list.count() == 1 ) - return ( other == *(const_cast< QPtrList& >(list).at(0)) ); + return ( other == *(const_cast< TQPtrList& >(list).at(0)) ); if ( other.type() != type() ) return false; -- cgit v1.2.1