From 9a3f0aacd44fb866833ebcb852df3cd31475cb33 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: rename the following methods: tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kcontrol/style/kcmstyle.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kcontrol/style') diff --git a/kcontrol/style/kcmstyle.cpp b/kcontrol/style/kcmstyle.cpp index 5caef15d3..ba6559c1b 100644 --- a/kcontrol/style/kcmstyle.cpp +++ b/kcontrol/style/kcmstyle.cpp @@ -666,7 +666,7 @@ void KCMStyle::save() bool KCMStyle::findStyle( const TQString& str, int& combobox_item ) { - StyleEntry* se = styleEntries.tqfind(str.lower()); + StyleEntry* se = styleEntries.find(str.lower()); TQString name = se ? se->name : str; @@ -761,7 +761,7 @@ void KCMStyle::loadStyle( KConfig& config ) { TQString id = (*it).lower(); // Find the entry. - if ( (entry = styleEntries.tqfind(id)) != 0 ) + if ( (entry = styleEntries.find(id)) != 0 ) { // Do not add hidden entries if (entry->hidden) @@ -802,9 +802,9 @@ void KCMStyle::loadStyle( KConfig& config ) item = i; if ( id == cfgStyle ) // ExactMatch break; - else if ( id.tqcontains( cfgStyle ) ) + else if ( id.contains( cfgStyle ) ) break; - else if ( id.tqcontains( TQApplication::tqstyle().className() ) ) + else if ( id.contains( TQApplication::tqstyle().className() ) ) break; item = 0; } @@ -850,7 +850,7 @@ void KCMStyle::switchStyle(const TQString& styleName, bool force) appliedStyle = style; // Set the correct style description - StyleEntry* entry = styleEntries.tqfind( styleName ); + StyleEntry* entry = styleEntries.find( styleName ); TQString desc; desc = i18n("Description: %1").arg( entry ? entry->desc : i18n("No description available.") ); lblStyleDesc->setText( desc ); -- cgit v1.2.1