From 44e712a770ad0ab59d33790a80b5f6235cff6921 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 3 Dec 2023 00:48:33 +0900 Subject: Replaced various '#define' with actual strings - part 5 Signed-off-by: Michele Calgaro --- tdeprint/lpdunix/kmlpdunixmanager.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tdeprint/lpdunix/kmlpdunixmanager.cpp') diff --git a/tdeprint/lpdunix/kmlpdunixmanager.cpp b/tdeprint/lpdunix/kmlpdunixmanager.cpp index 7a291f6df..fa20b17da 100644 --- a/tdeprint/lpdunix/kmlpdunixmanager.cpp +++ b/tdeprint/lpdunix/kmlpdunixmanager.cpp @@ -186,7 +186,7 @@ void KMLpdUnixManager::parseEtcPrintcap() TQFile f(getPrintcapFileName()); if (f.exists() && f.open(IO_ReadOnly)) { - KTextBuffer t(TQT_TQIODEVICE(&f)); + KTextBuffer t(&f); TQMap entry; while (!t.eof()) @@ -247,7 +247,7 @@ void KMLpdUnixManager::parseEtcPrintersConf() TQFile f(getEtcPrintersConfName()); if (f.exists() && f.open(IO_ReadOnly)) { - KTextBuffer t(TQT_TQIODEVICE(&f)); + KTextBuffer t(&f); TQMap entry; TQString default_printer; @@ -297,7 +297,7 @@ void KMLpdUnixManager::parseEtcLpPrinters() TQFile f(it.current()->absFilePath() + "/configuration"); if (f.exists() && f.open(IO_ReadOnly)) { - KTextBuffer t(TQT_TQIODEVICE(&f)); + KTextBuffer t(&f); TQString line, remote; while (!t.eof()) { @@ -358,7 +358,7 @@ void KMLpdUnixManager::parseSpoolInterface() TQFile f(it.current()->absFilePath()); if (f.exists() && f.open(IO_ReadOnly)) { - KTextBuffer t(TQT_TQIODEVICE(&f)); + KTextBuffer t(&f); TQString line, remote; while (!t.eof()) -- cgit v1.2.1