From 7021f40c13f949b7cb5ded32d0241d648a43bf6c Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 22 Jan 2012 00:28:18 -0600 Subject: Part 1 of 2 of kdm rename --- ksplashml/themeengine/redmond/themeredmond.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'ksplashml') diff --git a/ksplashml/themeengine/redmond/themeredmond.cpp b/ksplashml/themeengine/redmond/themeredmond.cpp index 5c7118441..5992d1e0a 100644 --- a/ksplashml/themeengine/redmond/themeredmond.cpp +++ b/ksplashml/themeengine/redmond/themeredmond.cpp @@ -185,7 +185,7 @@ void ThemeRedmond::_initUi() greetingString = kes.getSetting( KEMailSettings::RealName ); } - // Try to load the user's KDM icon... TODO: Make this overridable by the Theme. + // Try to load the user's TDM icon... TODO: Make this overridable by the Theme. if( mUseKdmUserIcon ) { const TQString defSys( ".default.face.icon" ); // The system-wide default image @@ -195,10 +195,10 @@ void ThemeRedmond::_initUi() const int fUserOnly = fUserFirst+1; int faceSource = fAdminOnly; - KConfig *kdmconfig = new KConfig("kdm/kdmrc", true); - kdmconfig->setGroup("X-*-Greeter"); - TQString userPicsDir = kdmconfig->readEntry( "FaceDir", KGlobal::dirs()->resourceDirs("data").last() + "kdm/faces" ) + '/'; - TQString fs = kdmconfig->readEntry( "FaceSource" ); + KConfig *tdmconfig = new KConfig("tdm/tdmrc", true); + tdmconfig->setGroup("X-*-Greeter"); + TQString userPicsDir = tdmconfig->readEntry( "FaceDir", KGlobal::dirs()->resourceDirs("data").last() + "tdm/faces" ) + '/'; + TQString fs = tdmconfig->readEntry( "FaceSource" ); if (fs == TQString::fromLatin1("UserOnly")) faceSource = fUserOnly; else if (fs == TQString::fromLatin1("PreferUser")) @@ -207,7 +207,7 @@ void ThemeRedmond::_initUi() faceSource = fAdminFirst; else faceSource = fAdminOnly; // Admin Only - delete kdmconfig; + delete tdmconfig; TQPixmap userp; if ( faceSource == fAdminFirst ) @@ -341,7 +341,7 @@ void ThemeRedmond::_readSettings() mShowUsernameText = cfg->readBoolEntry( "Show Username", true ); mShowActionText = cfg->readBoolEntry( "Show Action", true ); mShowIcon = cfg->readBoolEntry( "Show Icon", true ); - mUseKdmUserIcon = cfg->readBoolEntry( "Use KDM User Icon", true ); + mUseKdmUserIcon = cfg->readBoolEntry( "Use TDM User Icon", true ); // Setup our fonts. There are only 3 elements which use 'em, so this is fairly // straightforward. -- cgit v1.2.1