diff options
author | Timothy Pearson <[email protected]> | 2012-01-22 00:28:18 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-01-22 00:28:18 -0600 |
commit | 7021f40c13f949b7cb5ded32d0241d648a43bf6c (patch) | |
tree | aa1a5e4de2963edc6638783246b2ff25e98833aa /ksplashml/themeengine/redmond/themeredmond.cpp | |
parent | 0a2a54a02254ded760afd5b9c965c6bb71459d46 (diff) | |
download | tdebase-7021f40c13f949b7cb5ded32d0241d648a43bf6c.tar.gz tdebase-7021f40c13f949b7cb5ded32d0241d648a43bf6c.zip |
Part 1 of 2 of kdm rename
Diffstat (limited to 'ksplashml/themeengine/redmond/themeredmond.cpp')
-rw-r--r-- | ksplashml/themeengine/redmond/themeredmond.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
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. |