diff options
Diffstat (limited to 'tqtinterface/qt4/tools/designer/plugins/dlg/dlg2ui.cpp')
-rw-r--r-- | tqtinterface/qt4/tools/designer/plugins/dlg/dlg2ui.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/tqtinterface/qt4/tools/designer/plugins/dlg/dlg2ui.cpp b/tqtinterface/qt4/tools/designer/plugins/dlg/dlg2ui.cpp index cb71661..6f45017 100644 --- a/tqtinterface/qt4/tools/designer/plugins/dlg/dlg2ui.cpp +++ b/tqtinterface/qt4/tools/designer/plugins/dlg/dlg2ui.cpp @@ -254,17 +254,17 @@ static AttributeMap attribute( const TQString& name, const TQString& val ) static TQString entitize( const TQString& str ) { TQString t = str; - t.tqreplace( '&', TQString("&") ); - t.tqreplace( '>', TQString(">") ); - t.tqreplace( '<', TQString("<") ); - t.tqreplace( '"', TQString(""") ); - t.tqreplace( '\'', TQString("'") ); + t.replace( '&', TQString("&") ); + t.replace( '>', TQString(">") ); + t.replace( '<', TQString("<") ); + t.replace( '"', TQString(""") ); + t.replace( '\'', TQString("'") ); return t; } TQString Dlg2Ui::alias( const TQString& name ) const { - if ( yyAliasMap.tqcontains(name) ) + if ( yyAliasMap.contains(name) ) return yyAliasMap[name]; else return name; @@ -318,8 +318,8 @@ TQString Dlg2Ui::getTextValue( const TQDomNode& node ) return TQString(); } TQString t = child.data().stripWhiteSpace(); - t.tqreplace( "\\\\", "\\" ); - t.tqreplace( "\\n", "\n" ); + t.replace( "\\\\", "\\" ); + t.replace( "\\n", "\n" ); return t; } @@ -549,7 +549,7 @@ void Dlg2Ui::emitClosingLayout( bool needsWidget, const TQString& layoutKind ) bool Dlg2Ui::isWidgetType( const TQDomElement& e ) { - return yyWidgetTypeSet.tqcontains( e.tagName() ); + return yyWidgetTypeSet.contains( e.tagName() ); } void Dlg2Ui::emitSpacer( int spacing, int stretch ) @@ -583,7 +583,7 @@ TQString Dlg2Ui::filteredFlags( const TQString& flags, const TQRegExp& filter ) TQRegExp evil( TQString("[^0-9A-Z_a-z|]") ); TQString f = flags; - f.tqreplace( evil, TQString() ); + f.replace( evil, TQString() ); TQStringList splitted = TQStringList::split( TQChar('|'), f ); return splitted.grep( filter ).join( TQChar('|') ); } @@ -679,7 +679,7 @@ void Dlg2Ui::emitWidgetBody( const TQDomElement& e, bool layouted ) } else { TQString tagName = n.toElement().tagName(); - TQMap<TQString, int>::ConstIterator p = pp.tqfind( tagName ); + TQMap<TQString, int>::ConstIterator p = pp.find( tagName ); if ( p == pp.end() ) { /* These properties are not in the propertyDefs table, @@ -1245,7 +1245,7 @@ void Dlg2Ui::matchLayoutWidget( const TQDomElement& layoutWidget ) } if ( !widget.isEmpty() ) { - TQMap<TQString, TQDomElement>::Iterator w = yyWidgetMap.tqfind( widget ); + TQMap<TQString, TQDomElement>::Iterator w = yyWidgetMap.find( widget ); if ( w == yyWidgetMap.end() ) { syntaxError(); } else { @@ -1412,7 +1412,7 @@ void Dlg2Ui::matchWidget( const TQDomElement& widget ) if ( name.isEmpty() ) name = TQString( "Widget%1" ).arg( uniqueWidget++ ); - if ( yyWidgetMap.tqcontains(name) ) + if ( yyWidgetMap.contains(name) ) syntaxError(); yyWidgetMap.insert( name, widget ); } |