diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:52:55 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:52:55 +0000 |
commit | 5f5ee2367157176ed223b86343eb0a9e4022e020 (patch) | |
tree | 6a9c87f14ee38e90eff3c77c784f14e4f38fd5a1 /kregexpeditor/altnregexp.cpp | |
parent | 4facf42feec57b22dcf46badc115ad6c5b5cc512 (diff) | |
download | tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.tar.gz tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1157653 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kregexpeditor/altnregexp.cpp')
-rw-r--r-- | kregexpeditor/altnregexp.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kregexpeditor/altnregexp.cpp b/kregexpeditor/altnregexp.cpp index adebf1b..ef8b8de 100644 --- a/kregexpeditor/altnregexp.cpp +++ b/kregexpeditor/altnregexp.cpp @@ -43,20 +43,20 @@ bool AltnRegExp::check( ErrorMap& map, bool first, bool last ) return possibleEmpty; } -QDomNode AltnRegExp::toXml( QDomDocument* doc ) const +TQDomNode AltnRegExp::toXml( TQDomDocument* doc ) const { - QDomElement top = doc->createElement( QString::fromLocal8Bit( "Alternatives" ) ); + TQDomElement top = doc->createElement( TQString::fromLocal8Bit( "Alternatives" ) ); for ( RegExpListIt it(list); *it; ++it ) { top.appendChild( (*it)->toXml( doc ) ); } return top; } -bool AltnRegExp::load( QDomElement top, const QString& version ) +bool AltnRegExp::load( TQDomElement top, const TQString& version ) { - Q_ASSERT( top.tagName() == QString::fromLocal8Bit( "Alternatives" ) ); + Q_ASSERT( top.tagName() == TQString::fromLocal8Bit( "Alternatives" ) ); - 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. |