|
|
|
@ -26,8 +26,8 @@ KbfxConfig::KbfxConfig()
|
|
|
|
|
/* set default configuration values */
|
|
|
|
|
|
|
|
|
|
/* KBFX internal settings */
|
|
|
|
|
KbfxThemeRcDestination = KGlobal::dirs()->saveLocation ( "data", TQString ( "kbfx/themerc/" ), TRUE );
|
|
|
|
|
KbfxRcPath = KGlobal::dirs()->findResource ( "config", "kbfxrc" );
|
|
|
|
|
KbfxThemeRcDestination = TDEGlobal::dirs()->saveLocation ( "data", TQString ( "kbfx/themerc/" ), TRUE );
|
|
|
|
|
KbfxRcPath = TDEGlobal::dirs()->findResource ( "config", "kbfxrc" );
|
|
|
|
|
m_KbfxDeleteOldConf = FALSE;
|
|
|
|
|
TQString _unspecified = tr2i18n ( "Not Specified" );
|
|
|
|
|
TQString path = locate ( "data", "kbfx/skins/default/bg.png" );
|
|
|
|
@ -329,7 +329,7 @@ void KbfxConfig::read()
|
|
|
|
|
|
|
|
|
|
KConfig *conf = confskel->config();
|
|
|
|
|
|
|
|
|
|
TQString __default = KGlobal::iconLoader()->iconPath ( "kbfx", ( int ) KIcon::Desktop, FALSE );
|
|
|
|
|
TQString __default = TDEGlobal::iconLoader()->iconPath ( "kbfx", ( int ) KIcon::Desktop, FALSE );
|
|
|
|
|
|
|
|
|
|
conf->setGroup ( "KbfxGeneral" );
|
|
|
|
|
m_KbfxGeneralVersion = conf->readNumEntry ( "Version", 0 );
|
|
|
|
@ -501,7 +501,7 @@ void KbfxConfig::readThemerc ( TQString &themePath, TQString &themeName, bool us
|
|
|
|
|
/* use theme's default dude image if any */
|
|
|
|
|
KConfigSkeleton *confskel = new KConfigSkeleton ( TQString::fromLatin1 ( "kbfxrc" ) );
|
|
|
|
|
KConfig *conf = confskel->config();
|
|
|
|
|
TQString __default = KGlobal::iconLoader()->iconPath ( "kbfx", ( int ) KIcon::Desktop, FALSE );
|
|
|
|
|
TQString __default = TDEGlobal::iconLoader()->iconPath ( "kbfx", ( int ) KIcon::Desktop, FALSE );
|
|
|
|
|
|
|
|
|
|
if ( m_SpinxDudeImageDefault == TQString() || !KStandardDirs::exists ( m_SpinxDudeImageDefault ) )
|
|
|
|
|
{
|
|
|
|
|