summaryrefslogtreecommitdiffstats
path: root/kioslave/metainfo
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kioslave/metainfo
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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);