|
|
|
@ -20,18 +20,18 @@
|
|
|
|
|
|
|
|
|
|
namespace Parsers
|
|
|
|
|
{
|
|
|
|
|
static void print_czstring(KIO::SlaveBase& slave, const char* data, int len)
|
|
|
|
|
static void print_czstring(TDEIO::SlaveBase& slave, const char* data, int len)
|
|
|
|
|
{
|
|
|
|
|
TQByteArray nonull;
|
|
|
|
|
nonull.setRawData(data, len);
|
|
|
|
|
slave.data(nonull);
|
|
|
|
|
nonull.resetRawData(data, len);
|
|
|
|
|
}
|
|
|
|
|
void operator << (KIO::SlaveBase& slave, const TQCString& string)
|
|
|
|
|
void operator << (TDEIO::SlaveBase& slave, const TQCString& string)
|
|
|
|
|
{ print_czstring(slave, string.data(), string.size() - 1); }
|
|
|
|
|
void operator << (KIO::SlaveBase& slave, const TQString& string)
|
|
|
|
|
void operator << (TDEIO::SlaveBase& slave, const TQString& string)
|
|
|
|
|
{ slave << string.utf8(); }
|
|
|
|
|
void operator << (KIO::SlaveBase& slave, const char* string)
|
|
|
|
|
void operator << (TDEIO::SlaveBase& slave, const char* string)
|
|
|
|
|
{ print_czstring(slave, string, strlen(string)); }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -51,7 +51,7 @@ namespace Parsers
|
|
|
|
|
void Parser::attribute_end(TQHtmlStream& stream)
|
|
|
|
|
{ stream << close() << endl << close(); }
|
|
|
|
|
|
|
|
|
|
// void Parser::operator ( )( KIO::SlaveBase * /*slave*/,
|
|
|
|
|
// void Parser::operator ( )( TDEIO::SlaveBase * /*slave*/,
|
|
|
|
|
// const TQString & /*tag*/, const TQString & /*value*/ )
|
|
|
|
|
// {}
|
|
|
|
|
|
|
|
|
|