diff options
Diffstat (limited to 'src/parsers')
-rw-r--r-- | src/parsers/parsers.cpp | 10 | ||||
-rw-r--r-- | src/parsers/parsers.h | 8 |
2 files changed, 9 insertions, 9 deletions
diff --git a/src/parsers/parsers.cpp b/src/parsers/parsers.cpp index 808150b..8cc67da 100644 --- a/src/parsers/parsers.cpp +++ b/src/parsers/parsers.cpp @@ -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*/ ) // {} diff --git a/src/parsers/parsers.h b/src/parsers/parsers.h index 904ff00..ef02e76 100644 --- a/src/parsers/parsers.h +++ b/src/parsers/parsers.h @@ -13,7 +13,7 @@ #include <tqstring.h> -namespace KIO +namespace TDEIO { class SlaveBase; } @@ -81,9 +81,9 @@ namespace Parsers void operator () (AptProtocol* slave, const TQString& tag, const TQString& value); }; - void operator << (KIO::SlaveBase& slave, const TQCString& string); - void operator << (KIO::SlaveBase& slave, const TQString& string); - void operator << (KIO::SlaveBase& slave, const char* string); + void operator << (TDEIO::SlaveBase& slave, const TQCString& string); + void operator << (TDEIO::SlaveBase& slave, const TQString& string); + void operator << (TDEIO::SlaveBase& slave, const char* string); TQString mangle_version(TQString version); } |