From 65f52513ee53e5a78695817a0a1b82180e234d2c Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 31 Jan 2013 13:16:48 -0600 Subject: Rename KStandard for enhanced compatibility with KDE4 --- kbfxlib/common/kbfxconfig.cpp | 2 +- kbfxlib/common/kbfxthemesdata.cpp | 2 +- plugins/recentstuff/kbfxplasmarecentstuff.cpp | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/kbfxlib/common/kbfxconfig.cpp b/kbfxlib/common/kbfxconfig.cpp index 6817e50..8234167 100644 --- a/kbfxlib/common/kbfxconfig.cpp +++ b/kbfxlib/common/kbfxconfig.cpp @@ -503,7 +503,7 @@ void KbfxConfig::readThemerc ( TQString &themePath, TQString &themeName, bool us TDEConfig *conf = confskel->config(); TQString __default = TDEGlobal::iconLoader()->iconPath ( "kbfx", ( int ) KIcon::Desktop, FALSE ); - if ( m_SpinxDudeImageDefault == TQString() || !KStandardDirs::exists ( m_SpinxDudeImageDefault ) ) + if ( m_SpinxDudeImageDefault == TQString() || !TDEStandardDirs::exists ( m_SpinxDudeImageDefault ) ) { m_SpinxDudeImageDefault = KbfxPlasmaPixmapProvider::PixmapPath ( "menu_top_image_person", themePath, themeName ); } diff --git a/kbfxlib/common/kbfxthemesdata.cpp b/kbfxlib/common/kbfxthemesdata.cpp index 464f285..c385e6d 100644 --- a/kbfxlib/common/kbfxthemesdata.cpp +++ b/kbfxlib/common/kbfxthemesdata.cpp @@ -37,7 +37,7 @@ ThemesMap KbfxThemesData::setThemeList ( TQString path ) m_themesMap.clear(); - KStandardDirs *tmp = new KStandardDirs(); + TDEStandardDirs *tmp = new TDEStandardDirs(); /* search themes in KDE Resource Folders and append user selected folder */ TQStringList skinsFolders = tmp->findDirs ( "data", "kbfx/skins" ); diff --git a/plugins/recentstuff/kbfxplasmarecentstuff.cpp b/plugins/recentstuff/kbfxplasmarecentstuff.cpp index 38c211c..df79a19 100644 --- a/plugins/recentstuff/kbfxplasmarecentstuff.cpp +++ b/plugins/recentstuff/kbfxplasmarecentstuff.cpp @@ -43,7 +43,7 @@ view () appGroup->setName ( "RecentStuff" ); TQString path = - KStandardDirs ().localtdedir () + "/share/apps/RecentDocuments/"; + TDEStandardDirs ().localtdedir () + "/share/apps/RecentDocuments/"; @@ -116,7 +116,7 @@ search ( TQString _keyword ) TQString path = - KStandardDirs ().localtdedir () + "/share/apps/RecentDocuments/"; + TDEStandardDirs ().localtdedir () + "/share/apps/RecentDocuments/"; TQDir d ( path ); d.setFilter ( TQDir::Files | TQDir::Hidden | TQDir::NoSymLinks ); -- cgit v1.2.1