diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | 937b2991d8e78166eea904c80ad04d34607017a4 (patch) | |
tree | 2accb8161eab09df5d7a5484ea9ea080ad123168 /kopete/libkopete/kopeteprefs.cpp | |
parent | dba26cb985af370c33d1767037851705cc561726 (diff) | |
download | tdenetwork-937b2991d8e78166eea904c80ad04d34607017a4.tar.gz tdenetwork-937b2991d8e78166eea904c80ad04d34607017a4.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/libkopete/kopeteprefs.cpp')
-rw-r--r-- | kopete/libkopete/kopeteprefs.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kopete/libkopete/kopeteprefs.cpp b/kopete/libkopete/kopeteprefs.cpp index c9805f9a..644ded69 100644 --- a/kopete/libkopete/kopeteprefs.cpp +++ b/kopete/libkopete/kopeteprefs.cpp @@ -128,10 +128,10 @@ void KopetePrefs::load() config->setGroup("ContactList"); setThemeURL(config->readEntry("ThemeURL")); - int n = tqmetaObject()->tqfindProperty( "contactListDisplayMode" ); + int n = tqmetaObject()->findProperty( "contactListDisplayMode" ); TQString value = config->readEntry("DisplayMode",TQString::tqfromLatin1("Default")); mContactListDisplayMode = (ContactDisplayMode)tqmetaObject()->property( n )->keyToValue( value.latin1() ); - n = tqmetaObject()->tqfindProperty( "contactListIconMode" ); + n = tqmetaObject()->findProperty( "contactListIconMode" ); value = config->readEntry("IconMode", TQString::tqfromLatin1("IconDefault")); mContactListIconMode = (IconDisplayMode) tqmetaObject()->property( n )->keyToValue( value.latin1() ); @@ -229,9 +229,9 @@ void KopetePrefs::save() config->setGroup("ContactList"); config->writeEntry("ThemeURL", mThemeURL); - int n = tqmetaObject()->tqfindProperty( "contactListDisplayMode" ); + int n = tqmetaObject()->findProperty( "contactListDisplayMode" ); config->writeEntry("DisplayMode", tqmetaObject()->property( n )->valueToKey( mContactListDisplayMode )); - n = tqmetaObject()->tqfindProperty( "contactListIconMode" ); + n = tqmetaObject()->findProperty( "contactListIconMode" ); config->writeEntry("IconMode", tqmetaObject()->property( n )->valueToKey( mContactListIconMode )); config->writeEntry("IndentContacts", mContactListIndentContacts); config->writeEntry("UseCustomFonts", mContactListUseCustomFonts); |