From d3afa6baf98ef5ac191996cc9b909ff9074c168c Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 31 Jan 2013 13:28:26 -0600 Subject: Rename KStandard for enhanced compatibility with KDE4 --- tdeprint/lpdunix/klpdunixprinterimpl.cpp | 4 ++-- tdeprint/lpdunix/kmlpdunixmanager.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tdeprint/lpdunix') 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"); -- cgit v1.2.1