diff options
Diffstat (limited to 'tools/kfile-plugins/ooo')
-rw-r--r-- | tools/kfile-plugins/ooo/kfile_ooo.cpp | 8 | ||||
-rw-r--r-- | tools/kfile-plugins/ooo/kfile_ooo.h | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/tools/kfile-plugins/ooo/kfile_ooo.cpp b/tools/kfile-plugins/ooo/kfile_ooo.cpp index 8b873ac1..fc6ca9c3 100644 --- a/tools/kfile-plugins/ooo/kfile_ooo.cpp +++ b/tools/kfile-plugins/ooo/kfile_ooo.cpp @@ -123,10 +123,10 @@ static const char * metadocstat = "meta:document-statistic"; static const char * metaname = "meta:name" ; static const char * metauserdef = "meta:user-defined"; static const char * metafile = "meta.xml" ; -KOfficePlugin::KOfficePlugin(TQObject *tqparent, const char *name, +KOfficePlugin::KOfficePlugin(TQObject *parent, const char *name, const TQStringList &args) - : KFilePlugin(tqparent, name, args) + : KFilePlugin(parent, name, args) { int i = 0; while (mimetypes[i]) @@ -576,12 +576,12 @@ TQDomNode KOfficePlugin::getBaseNode(const TQDomDocument &doc) const TQValidator * KOfficePlugin::createValidator(const TQString &, /* mimetype */ const TQString & , /* group */ const TQString &key, - TQObject * tqparent, + TQObject * parent, const char * name ) const { if (key == dclanguage) return new TQRegExpValidator(TQRegExp("[a-zA-Z-]{1,5}"), - tqparent, name); + parent, name); return 0; } diff --git a/tools/kfile-plugins/ooo/kfile_ooo.h b/tools/kfile-plugins/ooo/kfile_ooo.h index b8604260..8114396f 100644 --- a/tools/kfile-plugins/ooo/kfile_ooo.h +++ b/tools/kfile-plugins/ooo/kfile_ooo.h @@ -36,7 +36,7 @@ class KOfficePlugin: public KFilePlugin public: /** * Constructor */ - KOfficePlugin( TQObject *tqparent, const char *name, const TQStringList& args ); + KOfficePlugin( TQObject *parent, const char *name, const TQStringList& args ); /** * Read informations from files and store info in KFileMetaInfo. * We currently only parse meta.xml in OOo files. @@ -55,7 +55,7 @@ public: virtual TQValidator* createValidator( const TQString& mimetype, const TQString &group, const TQString &key, - TQObject* tqparent, + TQObject* parent, const char* name) const; private: bool writeTextNode(TQDomDocument & doc, |