summaryrefslogtreecommitdiffstats
path: root/kregexpeditor/regexp.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:50:52 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:50:52 -0600
commitbf280726d5d22f33d33e4f9e771220c725249407 (patch)
tree48b7496821910eb85179d543acee981cf5d16dd8 /kregexpeditor/regexp.cpp
parentc78266617c282543427d2c000b3b68fe2b6b6722 (diff)
downloadtdeutils-bf280726d5d22f33d33e4f9e771220c725249407.tar.gz
tdeutils-bf280726d5d22f33d33e4f9e771220c725249407.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kregexpeditor/regexp.cpp')
-rw-r--r--kregexpeditor/regexp.cpp8
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);