diff options
Diffstat (limited to 'style/config/polyesterconf.cpp')
-rwxr-xr-x | style/config/polyesterconf.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/style/config/polyesterconf.cpp b/style/config/polyesterconf.cpp index 04215dd..e11661f 100755 --- a/style/config/polyesterconf.cpp +++ b/style/config/polyesterconf.cpp @@ -46,7 +46,7 @@ DEALINGS IN THE SOFTWARE. extern "C" { - KDE_EXPORT TQWidget* allocate_kstyle_config(TQWidget* parent) + KDE_EXPORT TQWidget* allocate_tdestyle_config(TQWidget* parent) { TDEGlobal::locale()->insertCatalogue("polyester"); return new PolyesterStyleConfig(parent); @@ -352,11 +352,11 @@ TQString PolyesterStyleConfig::buttonType( int listnr ) int PolyesterStyleConfig::buttonItem( TQString kBType ) { - if( !strcmp(kBType,"gradients") ) + if( kBType == "gradients" ) return 1; - else if( !strcmp(kBType,"reverseGradients") ) + else if( kBType == "reverseGradients") return 2; - else if( !strcmp(kBType,"flat") ) + else if( kBType == "flat") return 3; else return 0; @@ -379,11 +379,11 @@ TQString PolyesterStyleConfig::scrollBarType( int listnr ) int PolyesterStyleConfig::scrollBarItem( TQString kSType ) { - if( !strcmp(kSType,"PlatinumStyleScrollBar") ) + if( kSType == "PlatinumStyleScrollBar") return 1; - else if( !strcmp(kSType,"NextStyleScrollBar") ) + else if( kSType == "NextStyleScrollBar") return 2; - else if( !strcmp(kSType,"WindowsStyleScrollBar") ) + else if( kSType == "WindowsStyleScrollBar") return 3; else return 0; |