From eba47f8f0637f451e21348187591e1f1fd58ac74 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 2 Aug 2010 19:23:46 +0000 Subject: TQt conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kfile-plugins/xpm/kfile_xpm.cpp | 10 +++++----- kfile-plugins/xpm/kfile_xpm.h | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'kfile-plugins/xpm') diff --git a/kfile-plugins/xpm/kfile_xpm.cpp b/kfile-plugins/xpm/kfile_xpm.cpp index 3fd188b7..c0e80027 100644 --- a/kfile-plugins/xpm/kfile_xpm.cpp +++ b/kfile-plugins/xpm/kfile_xpm.cpp @@ -19,7 +19,7 @@ ***************************************************************************/ #include -#include +#include #include "kfile_xpm.h" #include @@ -32,7 +32,7 @@ K_EXPORT_COMPONENT_FACTORY(kfile_xpm, xpmFactory( "kfile_xpm" )) //-------------------------------------------------------------------------------- -xpmPlugin::xpmPlugin(QObject *parent, const char *name, const QStringList &args) +xpmPlugin::xpmPlugin(TQObject *parent, const char *name, const TQStringList &args) : KFilePlugin(parent, name, args) { KFileMimeTypeInfo* info = addMimeTypeInfo( "image/x-xpm" ); @@ -44,11 +44,11 @@ xpmPlugin::xpmPlugin(QObject *parent, const char *name, const QStringList &args) KFileMimeTypeInfo::ItemInfo* item; // our new items in the group - item = addItemInfo(group, "Dimension", i18n("Dimension"), QVariant::Size); + item = addItemInfo(group, "Dimension", i18n("Dimension"), TQVariant::Size); setHint(item, KFileMimeTypeInfo::Size); setUnit(item, KFileMimeTypeInfo::Pixels); - item = addItemInfo(group, "BitDepth", i18n("Bit Depth"), QVariant::Int); + item = addItemInfo(group, "BitDepth", i18n("Bit Depth"), TQVariant::Int); setUnit(item, KFileMimeTypeInfo::BitsPerPixel); } @@ -56,7 +56,7 @@ xpmPlugin::xpmPlugin(QObject *parent, const char *name, const QStringList &args) bool xpmPlugin::readInfo(KFileMetaInfo& info, uint /*what*/) { - QImage pix; + TQImage pix; if ( ! pix.load(info.path(), "XPM") ) return false; diff --git a/kfile-plugins/xpm/kfile_xpm.h b/kfile-plugins/xpm/kfile_xpm.h index c68ad4eb..f4660c45 100644 --- a/kfile-plugins/xpm/kfile_xpm.h +++ b/kfile-plugins/xpm/kfile_xpm.h @@ -29,14 +29,14 @@ */ #include -class QStringList; +class TQStringList; class xpmPlugin: public KFilePlugin { Q_OBJECT public: - xpmPlugin(QObject *parent, const char *name, const QStringList& args); + xpmPlugin(TQObject *parent, const char *name, const TQStringList& args); virtual bool readInfo(KFileMetaInfo& info, uint what); }; -- cgit v1.2.3