summaryrefslogtreecommitdiffstats
path: root/kfile-plugins/pnm
diff options
context:
space:
mode:
Diffstat (limited to 'kfile-plugins/pnm')
-rw-r--r--kfile-plugins/pnm/kfile_pnm.cpp4
-rw-r--r--kfile-plugins/pnm/kfile_pnm.h3
2 files changed, 4 insertions, 3 deletions
diff --git a/kfile-plugins/pnm/kfile_pnm.cpp b/kfile-plugins/pnm/kfile_pnm.cpp
index abe576b4..ae54b78d 100644
--- a/kfile-plugins/pnm/kfile_pnm.cpp
+++ b/kfile-plugins/pnm/kfile_pnm.cpp
@@ -33,7 +33,7 @@ typedef KGenericFactory<KPnmPlugin> PnmFactory;
K_EXPORT_COMPONENT_FACTORY(kfile_pnm, PnmFactory("kfile_pnm"))
-KPnmPlugin::KPnmPlugin(TQObject *parent, const char *name, const TQStringList &args) : KFilePlugin(parent, name, args)
+KPnmPlugin::KPnmPlugin(TQObject *tqparent, const char *name, const TQStringList &args) : KFilePlugin(tqparent, name, args)
{
makeMimeTypeInfo( "image/x-portable-bitmap" );
makeMimeTypeInfo( "image/x-portable-greymap" );
@@ -93,7 +93,7 @@ bool KPnmPlugin::readInfo( KFileMetaInfo& info, uint /*what*/)
comments += '\n';
}
// image size
- // unfortunately Qt doesn't have some kind of push-back method for
+ // unfortunately TQt doesn't have some kind of push-back method for
// TQTextStream, so we need to manually decode the first part of the
// image size.
if( c >= '0' && c <= '9' ) {
diff --git a/kfile-plugins/pnm/kfile_pnm.h b/kfile-plugins/pnm/kfile_pnm.h
index 59b146e5..3b54bdbe 100644
--- a/kfile-plugins/pnm/kfile_pnm.h
+++ b/kfile-plugins/pnm/kfile_pnm.h
@@ -27,9 +27,10 @@ class TQStringList;
class KPnmPlugin: public KFilePlugin
{
Q_OBJECT
+ TQ_OBJECT
public:
- KPnmPlugin( TQObject *parent, const char *name, const TQStringList& preferredItems );
+ KPnmPlugin( TQObject *tqparent, const char *name, const TQStringList& preferredItems );
virtual bool readInfo( KFileMetaInfo& info, uint );
private: