diff options
Diffstat (limited to 'kregexpeditor/regexp.cpp')
-rw-r--r-- | kregexpeditor/regexp.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kregexpeditor/regexp.cpp b/kregexpeditor/regexp.cpp index cb94e84..0b583d7 100644 --- a/kregexpeditor/regexp.cpp +++ b/kregexpeditor/regexp.cpp @@ -28,7 +28,7 @@ RegExp::RegExp( bool selected ) : _parent(0), _destructing( false ), _selected( RegExp::~RegExp() { _destructing = true; - for ( TQPtrListIterator<RegExp> it(_tqchildren); *it; ++it ) { + for ( TQPtrListIterator<RegExp> it(_children); *it; ++it ) { delete *it; } if ( _parent ) @@ -38,14 +38,14 @@ RegExp::~RegExp() void RegExp::addChild( RegExp* child ) { - _tqchildren.append( child ); + _children.append( child ); child->setParent( this ); } void RegExp::removeChild( RegExp* child ) { if ( ! _destructing ) { - _tqchildren.remove( child ); + _children.remove( child ); } } @@ -68,7 +68,7 @@ RegExp* RegExp::readRegExp( TQDomElement top, const TQString& version ) TQString RegExp::toXmlString() const { TQDomDocument doc; - doc.setContent( TQString::tqfromLatin1( "<RegularExpression/>" ) ); + doc.setContent( TQString::fromLatin1( "<RegularExpression/>" ) ); TQDomNode top = doc.documentElement(); top.toElement().setAttribute(TQString::fromLocal8Bit("version"), KRegExpEditorGUI::version); |