summaryrefslogtreecommitdiffstats
path: root/kopete/libkopete/kopeteprefs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/libkopete/kopeteprefs.cpp')
-rw-r--r--kopete/libkopete/kopeteprefs.cpp8
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);