summaryrefslogtreecommitdiffstats
path: root/kioslave/metainfo
diff options
context:
space:
mode:
Diffstat (limited to 'kioslave/metainfo')
-rw-r--r--kioslave/metainfo/metainfo.cpp14
-rw-r--r--kioslave/metainfo/metainfo.h2
2 files changed, 8 insertions, 8 deletions
diff --git a/kioslave/metainfo/metainfo.cpp b/kioslave/metainfo/metainfo.cpp
index 0e4814b33..21e24e428 100644
--- a/kioslave/metainfo/metainfo.cpp
+++ b/kioslave/metainfo/metainfo.cpp
@@ -56,7 +56,7 @@ int kdemain(int argc, char **argv)
return 0;
}
-MetaInfoProtocol::MetaInfoProtocol(const QCString &pool, const QCString &app)
+MetaInfoProtocol::MetaInfoProtocol(const TQCString &pool, const TQCString &app)
: SlaveBase("metainfo", pool, app)
{
}
@@ -67,11 +67,11 @@ MetaInfoProtocol::~MetaInfoProtocol()
void MetaInfoProtocol::get(const KURL &url)
{
- QString mimeType = metaData("mimeType");
+ TQString mimeType = metaData("mimeType");
KFileMetaInfo info(url.path(), mimeType);
- QByteArray arr;
- QDataStream stream(arr, IO_WriteOnly);
+ TQByteArray arr;
+ TQDataStream stream(arr, IO_WriteOnly);
stream << info;
@@ -81,12 +81,12 @@ void MetaInfoProtocol::get(const KURL &url)
void MetaInfoProtocol::put(const KURL& url, int, bool, bool)
{
- QString mimeType = metaData("mimeType");
+ TQString mimeType = metaData("mimeType");
KFileMetaInfo info;
- QByteArray arr;
+ TQByteArray arr;
readData(arr);
- QDataStream stream(arr, IO_ReadOnly);
+ TQDataStream stream(arr, IO_ReadOnly);
stream >> info;
diff --git a/kioslave/metainfo/metainfo.h b/kioslave/metainfo/metainfo.h
index de2a6b055..491da62eb 100644
--- a/kioslave/metainfo/metainfo.h
+++ b/kioslave/metainfo/metainfo.h
@@ -26,7 +26,7 @@
class MetaInfoProtocol : public KIO::SlaveBase
{
public:
- MetaInfoProtocol(const QCString &pool, const QCString &app);
+ MetaInfoProtocol(const TQCString &pool, const TQCString &app);
virtual ~MetaInfoProtocol();
virtual void get(const KURL &url);