summaryrefslogtreecommitdiffstats
path: root/kcontrol/style/kcmstyle.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit9a3f0aacd44fb866833ebcb852df3cd31475cb33 (patch)
tree9f699684624f4e78e13e7dd2393a103cc6fa8274 /kcontrol/style/kcmstyle.cpp
parent341ad02235b9c85cd31782225181ed475b74eaa3 (diff)
downloadtdebase-9a3f0aacd44fb866833ebcb852df3cd31475cb33.tar.gz
tdebase-9a3f0aacd44fb866833ebcb852df3cd31475cb33.zip
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
Diffstat (limited to 'kcontrol/style/kcmstyle.cpp')
-rw-r--r--kcontrol/style/kcmstyle.cpp10
1 files changed, 5 insertions, 5 deletions
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 );