summaryrefslogtreecommitdiffstats
path: root/tdeprint/lpdunix/kmlpdunixmanager.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-12-03 00:48:33 +0900
committerMichele Calgaro <[email protected]>2023-12-05 12:00:35 +0900
commit44e712a770ad0ab59d33790a80b5f6235cff6921 (patch)
tree9dcde270e75b838740733976badcd5584777a039 /tdeprint/lpdunix/kmlpdunixmanager.cpp
parentcca633c6bdfe25e82f175f251c76e63c9e91b895 (diff)
downloadtdelibs-44e712a770ad0ab59d33790a80b5f6235cff6921.tar.gz
tdelibs-44e712a770ad0ab59d33790a80b5f6235cff6921.zip
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'tdeprint/lpdunix/kmlpdunixmanager.cpp')
-rw-r--r--tdeprint/lpdunix/kmlpdunixmanager.cpp8
1 files changed, 4 insertions, 4 deletions
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<TQString,TQString> 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<TQString,TQString> 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())