summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-31 13:16:48 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-31 13:16:48 -0600
commit65f52513ee53e5a78695817a0a1b82180e234d2c (patch)
tree645c3fe264daa25424eed3f3ab8a804f2a79348b
parentf7dc5648ea781295b167b7f158533af73e2ee7c1 (diff)
downloadkbfx-65f52513ee53e5a78695817a0a1b82180e234d2c.tar.gz
kbfx-65f52513ee53e5a78695817a0a1b82180e234d2c.zip
Rename KStandard for enhanced compatibility with KDE4
-rw-r--r--kbfxlib/common/kbfxconfig.cpp2
-rw-r--r--kbfxlib/common/kbfxthemesdata.cpp2
-rw-r--r--plugins/recentstuff/kbfxplasmarecentstuff.cpp4
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 );