diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:22:56 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:22:56 +0000 |
commit | 7346aee26bf190a7e70333c40fab4caca847cd27 (patch) | |
tree | 4b019b434f88dcc3eeaafe1d3f26240b4c4718e8 /kfile-plugins/lnk/kfile_lnk.cpp | |
parent | 23a3d3aa5b44cbdf305495919866d9dbf4f6da54 (diff) | |
download | tdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.tar.gz tdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1157634 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kfile-plugins/lnk/kfile_lnk.cpp')
-rw-r--r-- | kfile-plugins/lnk/kfile_lnk.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
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 { |