summaryrefslogtreecommitdiffstats
path: root/tdeprint/lpdunix
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-31 13:28:26 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-31 13:28:26 -0600
commitd3afa6baf98ef5ac191996cc9b909ff9074c168c (patch)
treea1e1247371cd17715f83036a3664755206ab9ba2 /tdeprint/lpdunix
parent12f3d421cd2991c0e3f96994efb836ce244172ff (diff)
downloadtdelibs-d3afa6baf98ef5ac191996cc9b909ff9074c168c.tar.gz
tdelibs-d3afa6baf98ef5ac191996cc9b909ff9074c168c.zip
Rename KStandard for enhanced compatibility with KDE4
Diffstat (limited to 'tdeprint/lpdunix')
-rw-r--r--tdeprint/lpdunix/klpdunixprinterimpl.cpp4
-rw-r--r--tdeprint/lpdunix/kmlpdunixmanager.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/tdeprint/lpdunix/klpdunixprinterimpl.cpp b/tdeprint/lpdunix/klpdunixprinterimpl.cpp
index e8ee34fd5..4237bda59 100644
--- a/tdeprint/lpdunix/klpdunixprinterimpl.cpp
+++ b/tdeprint/lpdunix/klpdunixprinterimpl.cpp
@@ -47,9 +47,9 @@ void KLpdUnixPrinterImpl::initLprPrint(TQString& cmd, KPrinter *printer)
// look for executable, starting with "lpr"
TQString KLpdUnixPrinterImpl::executable()
{
- QString exe = KStandardDirs::findExe("lpr");
+ QString exe = TDEStandardDirs::findExe("lpr");
if (exe.isEmpty())
- exe = KStandardDirs::findExe("lp");
+ exe = TDEStandardDirs::findExe("lp");
return exe;
}
diff --git a/tdeprint/lpdunix/kmlpdunixmanager.cpp b/tdeprint/lpdunix/kmlpdunixmanager.cpp
index 577575e7f..232a49eb0 100644
--- a/tdeprint/lpdunix/kmlpdunixmanager.cpp
+++ b/tdeprint/lpdunix/kmlpdunixmanager.cpp
@@ -230,7 +230,7 @@ void KMLpdUnixManager::parseEtcPrintcap()
TQString getEtcPrintersConfName()
{
TQString printersconf("/etc/printers.conf");
- if (!TQFile::exists(printersconf) && !KStandardDirs::findExe( "ypcat" ).isEmpty())
+ if (!TQFile::exists(printersconf) && !TDEStandardDirs::findExe( "ypcat" ).isEmpty())
{
// standard file not found, try NIS
printersconf = locateLocal("tmp","printers.conf");