summaryrefslogtreecommitdiffstats
path: root/kfile-plugins/ps/kfile_ps.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
commiteba47f8f0637f451e21348187591e1f1fd58ac74 (patch)
tree448f10b95c656604acc331a3236c1e59bde5c1ad /kfile-plugins/ps/kfile_ps.cpp
parentc7e8736c69373f48b0401319757c742e8607431a (diff)
downloadtdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.tar.gz
tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.zip
TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kfile-plugins/ps/kfile_ps.cpp')
-rw-r--r--kfile-plugins/ps/kfile_ps.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kfile-plugins/ps/kfile_ps.cpp b/kfile-plugins/ps/kfile_ps.cpp
index 6d3caa31..01136d88 100644
--- a/kfile-plugins/ps/kfile_ps.cpp
+++ b/kfile-plugins/ps/kfile_ps.cpp
@@ -20,7 +20,7 @@
#include "kfile_ps.h"
-#include <qfile.h>
+#include <tqfile.h>
#include <klocale.h>
#include <kgenericfactory.h>
@@ -30,8 +30,8 @@ typedef KGenericFactory<KPSPlugin> PSFactory;
K_EXPORT_COMPONENT_FACTORY(kfile_ps, PSFactory("kfile_ps"))
-KPSPlugin::KPSPlugin(QObject *parent, const char *name,
- const QStringList &preferredItems) :
+KPSPlugin::KPSPlugin(TQObject *parent, const char *name,
+ const TQStringList &preferredItems) :
KFilePlugin( parent, name, preferredItems )
{
kdDebug(7034) << "ps plugin\n";
@@ -47,11 +47,11 @@ void KPSPlugin::makeMimeTypeInfo( const char* mimeType )
// general group
KFileMimeTypeInfo::GroupInfo* group = addGroupInfo(info, "General", i18n("General"));
- addItemInfo(group, "Title", i18n("Title"), QVariant::String);
- addItemInfo(group, "Creator", i18n("Creator"), QVariant::String);
- addItemInfo(group, "CreationDate", i18n("Creation Date"), QVariant::String);
- addItemInfo(group, "For", i18n("For"), QVariant::String);
- addItemInfo(group, "Pages", i18n("Pages"), QVariant::UInt);
+ addItemInfo(group, "Title", i18n("Title"), TQVariant::String);
+ addItemInfo(group, "Creator", i18n("Creator"), TQVariant::String);
+ addItemInfo(group, "CreationDate", i18n("Creation Date"), TQVariant::String);
+ addItemInfo(group, "For", i18n("For"), TQVariant::String);
+ addItemInfo(group, "Pages", i18n("Pages"), TQVariant::UInt);
}
bool KPSPlugin::readInfo( KFileMetaInfo& info, uint /* what */)
@@ -63,7 +63,7 @@ bool KPSPlugin::readInfo( KFileMetaInfo& info, uint /* what */)
_dsc = new KDSC;
_dsc->setCommentHandler( this );
- FILE* fp = fopen( QFile::encodeName( info.path() ), "r" );
+ FILE* fp = fopen( TQFile::encodeName( info.path() ), "r" );
if( fp == 0 )
return false;