diff options
Diffstat (limited to 'experimental/tqtinterface/qt4/tools/designer/plugins/kdevdlg/kdevdlg2ui.cpp')
-rw-r--r-- | experimental/tqtinterface/qt4/tools/designer/plugins/kdevdlg/kdevdlg2ui.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/experimental/tqtinterface/qt4/tools/designer/plugins/kdevdlg/kdevdlg2ui.cpp b/experimental/tqtinterface/qt4/tools/designer/plugins/kdevdlg/kdevdlg2ui.cpp index 0030ab8a7..3c03e6d4e 100644 --- a/experimental/tqtinterface/qt4/tools/designer/plugins/kdevdlg/kdevdlg2ui.cpp +++ b/experimental/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( "<", "<" ); - text->tqreplace( ">", ">" ); + text->replace( "\\n", "\n" ); + text->replace( "\\t", "\t" ); + text->replace( "&", "&" ); + text->replace( "<", "<" ); + text->replace( ">", ">" ); } /*! |