summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/tools/designer/tools/createcw/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tqtinterface/qt4/tools/designer/tools/createcw/main.cpp')
-rw-r--r--tqtinterface/qt4/tools/designer/tools/createcw/main.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/tqtinterface/qt4/tools/designer/tools/createcw/main.cpp b/tqtinterface/qt4/tools/designer/tools/createcw/main.cpp
index 4a5b8ae..af98319 100644
--- a/tqtinterface/qt4/tools/designer/tools/createcw/main.cpp
+++ b/tqtinterface/qt4/tools/designer/tools/createcw/main.cpp
@@ -65,11 +65,11 @@ static TQString makeIndent( int indent )
static TQString entitize( const TQString &s )
{
TQString s2 = s;
- s2 = s2.tqreplace( "\"", """ );
- s2 = s2.tqreplace( "&", "&" );
- s2 = s2.tqreplace( ">", ">" );
- s2 = s2.tqreplace( "<", "&lt;" );
- s2 = s2.tqreplace( "'", "&apos;" );
+ s2 = s2.replace( "\"", "&quot;" );
+ s2 = s2.replace( "&", "&amp;" );
+ s2 = s2.replace( ">", "&gt;" );
+ s2 = s2.replace( "<", "&lt;" );
+ s2 = s2.replace( "'", "&apos;" );
return s2;
}
@@ -130,7 +130,7 @@ static void createDescription( const TQValueList<Widget> &l, TQTextStream &ts )
for ( int i = 0; i < (int)props.count(); ++i ) {
const TQMetaProperty *p = w.w->tqmetaObject()->
property( w.w->tqmetaObject()->
- tqfindProperty( props.at( i ), TRUE ), TRUE );
+ findProperty( props.at( i ), TRUE ), TRUE );
if ( !p )
continue;
if ( !p->writable() || !p->designable( w.w ) )