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/folder/kfile_folder.cpp | 20 ++++++++++---------- kfile-plugins/folder/kfile_folder.h | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) (limited to 'kfile-plugins/folder') diff --git a/kfile-plugins/folder/kfile_folder.cpp b/kfile-plugins/folder/kfile_folder.cpp index 911a2e5..fe4ea9a 100644 --- a/kfile-plugins/folder/kfile_folder.cpp +++ b/kfile-plugins/folder/kfile_folder.cpp @@ -23,15 +23,15 @@ #include #include -#include -#include +#include +#include typedef KGenericFactory KFolderFactory; K_EXPORT_COMPONENT_FACTORY(kfile_folder, KFolderFactory( "kfile_folder" )) -KFolderPlugin::KFolderPlugin(QObject *parent, const char *name, - const QStringList &args) +KFolderPlugin::KFolderPlugin(TQObject *parent, const char *name, + const TQStringList &args) : KFilePlugin(parent, name, args) { @@ -43,8 +43,8 @@ KFolderPlugin::KFolderPlugin(QObject *parent, const char *name, KFileMimeTypeInfo::ItemInfo* item; - item = addItemInfo(group, "Items", i18n("Items"), QVariant::Int); - item = addItemInfo(group, "Size", i18n("Size"), QVariant::Int); + item = addItemInfo(group, "Items", i18n("Items"), TQVariant::Int); + item = addItemInfo(group, "Size", i18n("Size"), TQVariant::Int); setUnit(item, KFileMimeTypeInfo::Bytes); } @@ -55,17 +55,17 @@ bool KFolderPlugin::readInfo( KFileMetaInfo& info, uint /*what*/) if (info.path().isEmpty()) return false; - QDir dir; + TQDir dir; if ( !dir.cd(info.path()) ) return false; - const QPtrList *fileList = dir.entryInfoList(); + const TQPtrList *fileList = dir.entryInfoList(); if (!fileList) return false; - QPtrListIterator list = QPtrListIterator(*fileList); + TQPtrListIterator list = TQPtrListIterator(*fileList); - QFileInfo* file; + TQFileInfo* file; int items = 0; KIO::filesize_t bytes = 0; diff --git a/kfile-plugins/folder/kfile_folder.h b/kfile-plugins/folder/kfile_folder.h index 602c369..96fcd16 100644 --- a/kfile-plugins/folder/kfile_folder.h +++ b/kfile-plugins/folder/kfile_folder.h @@ -29,7 +29,7 @@ class KFolderPlugin: public KFilePlugin Q_OBJECT public: - KFolderPlugin( QObject *parent, const char *name, const QStringList& args ); + KFolderPlugin( TQObject *parent, const char *name, const TQStringList& args ); virtual bool readInfo( KFileMetaInfo& info, uint what); }; -- cgit v1.2.1