summaryrefslogtreecommitdiffstats
path: root/kfile-plugins/tiff
diff options
context:
space:
mode:
Diffstat (limited to 'kfile-plugins/tiff')
-rw-r--r--kfile-plugins/tiff/kfile_tiff.cpp8
-rw-r--r--kfile-plugins/tiff/kfile_tiff.h3
2 files changed, 6 insertions, 5 deletions
diff --git a/kfile-plugins/tiff/kfile_tiff.cpp b/kfile-plugins/tiff/kfile_tiff.cpp
index ce55e5b3..7e1e86be 100644
--- a/kfile-plugins/tiff/kfile_tiff.cpp
+++ b/kfile-plugins/tiff/kfile_tiff.cpp
@@ -34,8 +34,8 @@ typedef KGenericFactory<KTiffPlugin> TiffFactory;
K_EXPORT_COMPONENT_FACTORY(kfile_tiff, TiffFactory("kfile_tiff"))
-KTiffPlugin::KTiffPlugin(TQObject *parent, const char *name,
- const TQStringList &args) : KFilePlugin(parent, name, args)
+KTiffPlugin::KTiffPlugin(TQObject *tqparent, const char *name,
+ const TQStringList &args) : KFilePlugin(tqparent, name, args)
{
kdDebug(7034) << "TIFF file meta info plugin" << endl;
KFileMimeTypeInfo* info = addMimeTypeInfo( "image/tiff" );
@@ -90,7 +90,7 @@ KTiffPlugin::KTiffPlugin(TQObject *parent, const char *name,
m_colorMode.insert(PHOTOMETRIC_PALETTE,
new TQString(I18N_NOOP("Palette color")));
m_colorMode.insert(PHOTOMETRIC_MASK,
- new TQString(I18N_NOOP("Transparency mask")));
+ new TQString(I18N_NOOP("Transparency tqmask")));
m_colorMode.insert(PHOTOMETRIC_SEPARATED,
new TQString(I18N_NOOP("Color separations")));
m_colorMode.insert(PHOTOMETRIC_YCBCR,
@@ -248,7 +248,7 @@ bool KTiffPlugin::readInfo(KFileMetaInfo& info, uint)
int imageBpp = bitsPerSample*samplesPerPixel;
if (imageAlpha && colorMode==PHOTOMETRIC_RGB)
- m_colorMode.replace(PHOTOMETRIC_RGB, new TQString(I18N_NOOP("RGBA")));
+ m_colorMode.tqreplace(PHOTOMETRIC_RGB, new TQString(I18N_NOOP("RGBA")));
KFileMetaInfoGroup group = appendGroup(info, "General");
if (description)
diff --git a/kfile-plugins/tiff/kfile_tiff.h b/kfile-plugins/tiff/kfile_tiff.h
index 54087ea4..26ad4765 100644
--- a/kfile-plugins/tiff/kfile_tiff.h
+++ b/kfile-plugins/tiff/kfile_tiff.h
@@ -27,9 +27,10 @@
class KTiffPlugin: public KFilePlugin
{
Q_OBJECT
+ TQ_OBJECT
public:
- KTiffPlugin(TQObject *parent, const char *name, const TQStringList& args);
+ KTiffPlugin(TQObject *tqparent, const char *name, const TQStringList& args);
virtual bool readInfo(KFileMetaInfo& info, uint what);
private: