Replaced various '#define' with actual strings - part 5

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 79e900a689)
r14.1.x
Michele Calgaro 12 months ago
parent ea5e56f7a5
commit 29628defdd
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -102,7 +102,7 @@ namespace bt
if (!fptr.open(IO_WriteOnly))
throw Error(i18n("Cannot open log file %1 : %2").arg(file).arg(fptr.errorString()));
out->setDevice(TQT_TQIODEVICE(&fptr));
out->setDevice(&fptr);
}
void write(const TQString & line)
@ -153,7 +153,7 @@ namespace bt
void logRotateDone()
{
fptr.open(IO_WriteOnly);
out->setDevice(TQT_TQIODEVICE(&fptr));
out->setDevice(&fptr);
rotate_job = 0;
}
};

@ -73,7 +73,7 @@ namespace kt
if (!fptr.open(IO_ReadOnly))
return false;
TQXmlInputSource input(TQT_TQIODEVICE(&fptr));
TQXmlInputSource input(&fptr);
XMLContentHandler chandler(router);
TQXmlSimpleReader reader;

Loading…
Cancel
Save