diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-01-13 23:01:29 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-01-15 16:22:14 +0900 |
commit | b71912fbcb90d5504aad9f17530c94169a661fed (patch) | |
tree | e9039e4a956fb8af5ba2878db5320236eb0f93b1 /tdeprint/lpr | |
parent | 8ee06ec529e375693eaefa6fb68dc496d36fd367 (diff) | |
download | tdelibs-b71912fbcb90d5504aad9f17530c94169a661fed.tar.gz tdelibs-b71912fbcb90d5504aad9f17530c94169a661fed.zip |
Rename TDEApplication::kApplication() to TDEApplication::tdeApplication() and kapp to tdeApp.rename/kapp-tdeapp
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdeprint/lpr')
-rw-r--r-- | tdeprint/lpr/matichandler.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tdeprint/lpr/matichandler.cpp b/tdeprint/lpr/matichandler.cpp index 8d7bf0b37..aae4bbe03 100644 --- a/tdeprint/lpr/matichandler.cpp +++ b/tdeprint/lpr/matichandler.cpp @@ -224,7 +224,7 @@ DrMain* MaticHandler::loadDriver(KMPrinter*, PrintcapEntry *entry, bool) // is not self-contained. If the printer is removed (when // changing printer name), the template would be also removed TQString origfilename = maticFile(entry); - TQString filename = locateLocal("tmp", "foomatic_" + kapp->randomString(8)); + TQString filename = locateLocal("tmp", "foomatic_" + tdeApp->randomString(8)); ::system(TQFile::encodeName("cp " + TDEProcess::quote(origfilename) + " " + TDEProcess::quote(filename))); DrMain *driver = Foomatic2Loader::loadDriver(filename); if (driver) @@ -246,7 +246,7 @@ DrMain* MaticHandler::loadDbDriver(const TQString& path) return NULL; } - TQString tmpFile = locateLocal("tmp", "foomatic_" + kapp->randomString(8)); + TQString tmpFile = locateLocal("tmp", "foomatic_" + tdeApp->randomString(8)); TQString PATH = getenv("PATH") + TQString::fromLatin1(":/usr/sbin:/usr/local/sbin:/opt/sbin:/opt/local/sbin"); TQString exe = TDEStandardDirs::findExe("foomatic-datafile", PATH); if (exe.isEmpty()) @@ -291,7 +291,7 @@ DrMain* MaticHandler::loadDbDriver(const TQString& path) bool MaticHandler::savePrinterDriver(KMPrinter *prt, PrintcapEntry *entry, DrMain *driver, bool*) { - TQFile tmpFile(locateLocal("tmp", "foomatic_" + kapp->randomString(8))); + TQFile tmpFile(locateLocal("tmp", "foomatic_" + tdeApp->randomString(8))); TQFile inFile(driver->get("template")); TQString outFile = maticFile(entry); bool result(false); |