summaryrefslogtreecommitdiffstats
path: root/tdeprint/kmspecialmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeprint/kmspecialmanager.cpp')
-rw-r--r--tdeprint/kmspecialmanager.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tdeprint/kmspecialmanager.cpp b/tdeprint/kmspecialmanager.cpp
index d26515a16..84e120e77 100644
--- a/tdeprint/kmspecialmanager.cpp
+++ b/tdeprint/kmspecialmanager.cpp
@@ -47,7 +47,7 @@ bool KMSpecialManager::savePrinters()
if (getuid() == 0)
{
confname = locate("data", "tdeprint/specials.desktop");
- if (confname.startsWith(KGlobal::dirs()->localtdedir()))
+ if (confname.startsWith(TDEGlobal::dirs()->localtdedir()))
{
// seems there's a problem here
m_mgr->setErrorMsg(i18n("A file share/tdeprint/specials.desktop was found in your "
@@ -107,8 +107,8 @@ bool KMSpecialManager::loadPrinters()
if (m_loaded) return true;
bool result(true);
- TQString localDir = KGlobal::dirs()->localtdedir();
- TQStringList files = KGlobal::dirs()->findAllResources("data", "tdeprint/specials.desktop");
+ TQString localDir = TDEGlobal::dirs()->localtdedir();
+ TQStringList files = TDEGlobal::dirs()->findAllResources("data", "tdeprint/specials.desktop");
// local files should processed last, so we need to reorder the list
// and put local files at the end
TQStringList orderedFiles;