summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/tools/designer/plugins/kdevdlg/kdevdlg2ui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tqtinterface/qt4/tools/designer/plugins/kdevdlg/kdevdlg2ui.cpp')
-rw-r--r--tqtinterface/qt4/tools/designer/plugins/kdevdlg/kdevdlg2ui.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/tqtinterface/qt4/tools/designer/plugins/kdevdlg/kdevdlg2ui.cpp b/tqtinterface/qt4/tools/designer/plugins/kdevdlg/kdevdlg2ui.cpp
index 0030ab8..3c03e6d 100644
--- a/tqtinterface/qt4/tools/designer/plugins/kdevdlg/kdevdlg2ui.cpp
+++ b/tqtinterface/qt4/tools/designer/plugins/kdevdlg/kdevdlg2ui.cpp
@@ -181,20 +181,20 @@ void KDEVDLG2UI::writeStyles( const TQStringList styles, bool isFrame )
TQString shadow = "NoFrame";
TQString tqshape = "StyledPanel";
int width = 2;
- if ( styles.tqcontains( "WS_EX_STATICEDGE" ) ) {
+ if ( styles.contains( "WS_EX_STATICEDGE" ) ) {
shadow = "Plain";
width = 1;
defineFrame = TRUE;
}
- if ( styles.tqcontains( "WS_EX_CLIENTEDGE" ) ) {
+ if ( styles.contains( "WS_EX_CLIENTEDGE" ) ) {
shadow = "Sunken";
defineFrame = TRUE;
}
- if ( styles.tqcontains( "WS_EX_DLGMODALFRAME" ) ) {
+ if ( styles.contains( "WS_EX_DLGMODALFRAME" ) ) {
shadow = "Raised";
defineFrame = TRUE;
}
- if ( !styles.tqcontains( "WS_BORDER" ) ) {
+ if ( !styles.contains( "WS_BORDER" ) ) {
tqshape = "NoFrame";
defineFrame = TRUE;
}
@@ -206,13 +206,13 @@ void KDEVDLG2UI::writeStyles( const TQStringList styles, bool isFrame )
}
}
- if ( styles.tqcontains("WS_DISABLED") )
+ if ( styles.contains("WS_DISABLED") )
writeBool("enabled", FALSE );
- if ( styles.tqcontains("WS_EX_ACCEPTFILES") )
+ if ( styles.contains("WS_EX_ACCEPTFILES") )
writeBool("acceptDrops", TRUE );
- if ( styles.tqcontains("WS_EX_TRANSPARENT") )
+ if ( styles.contains("WS_EX_TRANSPARENT") )
writeBool("autoMask", TRUE );
- if ( !styles.tqcontains("WS_TABSTOP") )
+ if ( !styles.contains("WS_TABSTOP") )
writeEnum("focusPolicy", "NoFocus");
}
@@ -283,11 +283,11 @@ bool KDEVDLG2UI::parse( TQStringList& get )
void KDEVDLG2UI::cleanString( TQString * text )
{
if ( !text ) return;
- text->tqreplace( "\\n", "\n" );
- text->tqreplace( "\\t", "\t" );
- text->tqreplace( "&", "&" );
- text->tqreplace( "<", "&lt;" );
- text->tqreplace( ">", "&gt;" );
+ text->replace( "\\n", "\n" );
+ text->replace( "\\t", "\t" );
+ text->replace( "&", "&amp;" );
+ text->replace( "<", "&lt;" );
+ text->replace( ">", "&gt;" );
}
/*!