summaryrefslogtreecommitdiffstats
path: root/kregexpeditor/concregexp.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:52:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:52:55 +0000
commit5f5ee2367157176ed223b86343eb0a9e4022e020 (patch)
tree6a9c87f14ee38e90eff3c77c784f14e4f38fd5a1 /kregexpeditor/concregexp.cpp
parent4facf42feec57b22dcf46badc115ad6c5b5cc512 (diff)
downloadtdeutils-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/concregexp.cpp')
-rw-r--r--kregexpeditor/concregexp.cpp12
1 files changed, 6 insertions, 6 deletions
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<RegExp>& >(list).at(0)) );
+ return ( other == *(const_cast< TQPtrList<RegExp>& >(list).at(0)) );
if ( other.type() != type() )
return false;