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

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/16/head
Michele Calgaro 12 months ago
parent 523c79c35f
commit 79e900a689
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