From ffe8a83e053396df448e9413828527613ca3bd46 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:46:43 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kioslave/metainfo/metainfo.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'kioslave/metainfo/metainfo.cpp') 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; -- cgit v1.2.1