diff options
Diffstat (limited to 'kfile-plugins/xpm')
-rw-r--r-- | kfile-plugins/xpm/kfile_xpm.cpp | 10 | ||||
-rw-r--r-- | kfile-plugins/xpm/kfile_xpm.h | 4 |
2 files changed, 7 insertions, 7 deletions
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 <config.h> -#include <qimage.h> +#include <tqimage.h> #include "kfile_xpm.h" #include <kgenericfactory.h> @@ -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 <kfilemetainfo.h> -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); }; |