diff options
Diffstat (limited to 'kfile-plugins/folder/kfile_folder.cpp')
-rw-r--r-- | kfile-plugins/folder/kfile_folder.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
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 <kgenericfactory.h> #include <kio/global.h> -#include <qfileinfo.h> -#include <qdir.h> +#include <tqfileinfo.h> +#include <tqdir.h> typedef KGenericFactory<KFolderPlugin> 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<QFileInfo> *fileList = dir.entryInfoList(); + const TQPtrList<TQFileInfo> *fileList = dir.entryInfoList(); if (!fileList) return false; - QPtrListIterator<QFileInfo> list = QPtrListIterator<QFileInfo>(*fileList); + TQPtrListIterator<TQFileInfo> list = TQPtrListIterator<TQFileInfo>(*fileList); - QFileInfo* file; + TQFileInfo* file; int items = 0; KIO::filesize_t bytes = 0; |