From 7346aee26bf190a7e70333c40fab4caca847cd27 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:22:56 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1157634 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kfile-plugins/lnk/kfile_lnk.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'kfile-plugins/lnk/kfile_lnk.cpp') diff --git a/kfile-plugins/lnk/kfile_lnk.cpp b/kfile-plugins/lnk/kfile_lnk.cpp index 6d8ea94..eb9e106 100644 --- a/kfile-plugins/lnk/kfile_lnk.cpp +++ b/kfile-plugins/lnk/kfile_lnk.cpp @@ -35,8 +35,8 @@ K_EXPORT_COMPONENT_FACTORY(kfile_lnk, lnkFactory( "kfile_lnk" )) //-------------------------------------------------------------------------------- -lnkPlugin::lnkPlugin(QObject *parent, const char *name, - const QStringList &args) +lnkPlugin::lnkPlugin(TQObject *parent, const char *name, + const TQStringList &args) : KFilePlugin(parent, name, args) { KFileMimeTypeInfo* info = addMimeTypeInfo( "application/x-win-lnk" ); @@ -48,12 +48,12 @@ lnkPlugin::lnkPlugin(QObject *parent, const char *name, KFileMimeTypeInfo::ItemInfo* item; // our new items in the group - item = addItemInfo(group, "TargetSize", i18n("Size of Target"), QVariant::Int); + item = addItemInfo(group, "TargetSize", i18n("Size of Target"), TQVariant::Int); setUnit(item, KFileMimeTypeInfo::Bytes); - addItemInfo(group, "Where", i18n("Location"), QVariant::String); - addItemInfo(group, "PointsTo", i18n("Points To"), QVariant::String); - addItemInfo(group, "Description", i18n("Description"), QVariant::String); + addItemInfo(group, "Where", i18n("Location"), TQVariant::String); + addItemInfo(group, "PointsTo", i18n("Points To"), TQVariant::String); + addItemInfo(group, "Description", i18n("Description"), TQVariant::String); } //-------------------------------------------------------------------------------- @@ -76,7 +76,7 @@ bool lnkPlugin::readInfo( KFileMetaInfo& info, uint /*what*/) if ( ! lnkInfo.isNetworkPath ) { appendItem(group, "Where", i18n("on Windows disk: %1").arg(lnkInfo.volumeName)); // volume label - appendItem(group, "PointsTo", QString("%1%2").arg(lnkInfo.driveName).arg(lnkInfo.path)); + appendItem(group, "PointsTo", TQString("%1%2").arg(lnkInfo.driveName).arg(lnkInfo.path)); } else { -- cgit v1.2.1