summaryrefslogtreecommitdiffstats
path: root/tdeprint/lpd
diff options
context:
space:
mode:
Diffstat (limited to 'tdeprint/lpd')
-rw-r--r--tdeprint/lpd/klpdprinterimpl.cpp2
-rw-r--r--tdeprint/lpd/kmlpdmanager.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/tdeprint/lpd/klpdprinterimpl.cpp b/tdeprint/lpd/klpdprinterimpl.cpp
index 2704cc46a..e81b3a8cd 100644
--- a/tdeprint/lpd/klpdprinterimpl.cpp
+++ b/tdeprint/lpd/klpdprinterimpl.cpp
@@ -35,7 +35,7 @@ KLpdPrinterImpl::~KLpdPrinterImpl()
TQString KLpdPrinterImpl::executable()
{
- return KStandardDirs::findExe("lpr");
+ return TDEStandardDirs::findExe("lpr");
}
bool KLpdPrinterImpl::setupCommand(TQString& cmd, KPrinter *printer)
diff --git a/tdeprint/lpd/kmlpdmanager.cpp b/tdeprint/lpd/kmlpdmanager.cpp
index a11f79304..23c0422d0 100644
--- a/tdeprint/lpd/kmlpdmanager.cpp
+++ b/tdeprint/lpd/kmlpdmanager.cpp
@@ -620,9 +620,9 @@ bool KMLpdManager::createSpooldir(PrintcapEntry *entry)
if (entry->arg("sd").isEmpty())
entry->m_args["sd"] = TQString::fromLatin1("/var/spool/lpd/")+entry->m_name;
QString sd = entry->arg("sd");
- if (!KStandardDirs::exists(sd))
+ if (!TDEStandardDirs::exists(sd))
{
- if (!KStandardDirs::makeDir(sd,0750))
+ if (!TDEStandardDirs::makeDir(sd,0750))
return false;
struct passwd *lp_pw = getpwnam("lp");
if (lp_pw && chown(TQFile::encodeName(sd),lp_pw->pw_uid,lp_pw->pw_gid) != 0)