summaryrefslogtreecommitdiffstats
path: root/tools/kfile-plugins/ooo/kfile_ooo.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/kfile-plugins/ooo/kfile_ooo.h')
-rw-r--r--tools/kfile-plugins/ooo/kfile_ooo.h49
1 files changed, 25 insertions, 24 deletions
diff --git a/tools/kfile-plugins/ooo/kfile_ooo.h b/tools/kfile-plugins/ooo/kfile_ooo.h
index 11bff4ac..9c2c3213 100644
--- a/tools/kfile-plugins/ooo/kfile_ooo.h
+++ b/tools/kfile-plugins/ooo/kfile_ooo.h
@@ -21,21 +21,22 @@
#define __KFILE_OOO_H__
#include <kfilemetainfo.h>
-#include <qiodevice.h>
-#include <qdom.h>
+#include <tqiodevice.h>
+#include <tqdom.h>
#include <karchive.h>
-class QStringList;
-class QDomNode;
-class QDomElement;
+class TQStringList;
+class TQDomNode;
+class TQDomElement;
class KOfficePlugin: public KFilePlugin
{
Q_OBJECT
+ TQ_OBJECT
public:
/**
* Constructor */
- KOfficePlugin( QObject *parent, const char *name, const QStringList& args );
+ KOfficePlugin( TQObject *tqparent, const char *name, const TQStringList& args );
/**
* Read informations from files and store info in KFileMetaInfo.
* We currently only parse meta.xml in OOo files.
@@ -51,27 +52,27 @@ public:
/**
* We need a validator, for the langage
*/
- virtual QValidator* createValidator( const QString& mimetype,
- const QString &group,
- const QString &key,
- QObject* parent,
+ virtual TQValidator* createValidator( const TQString& mimetype,
+ const TQString &group,
+ const TQString &key,
+ TQObject* tqparent,
const char* name) const;
private:
- bool writeTextNode(QDomDocument & doc,
- QDomNode & parentNode,
- const QString &nodeName,
- const QString &value) const;
+ bool writeTextNode(TQDomDocument & doc,
+ TQDomNode & tqparentNode,
+ const TQString &nodeName,
+ const TQString &value) const;
KFileMimeTypeInfo::GroupInfo* userdefined;
- void addAttributeInfo(const QDomElement & elem, KFileMetaInfoGroup & group,
- const QString &attributeName);
- QIODevice* getData(KArchive &m_zip, int fileMode) const;
- bool writeMetaData(const QString & path, const QDomDocument &doc) const;
- QDomDocument getMetaDocument(const QString &path) const;
- QDomNode getBaseNode(const QDomDocument &doc) const;
- void makeMimeTypeInfo(const QString& mimeType);
- QString stringFromNode(const QDomNode &node, const QString &name);
- void getEditingTime(KFileMetaInfoGroup group1, const char *, QString & txt);
- void getDateTime(KFileMetaInfoGroup group1, const char *, QString & txt);
+ void addAttributeInfo(const TQDomElement & elem, KFileMetaInfoGroup & group,
+ const TQString &attributeName);
+ TQIODevice* getData(KArchive &m_zip, int fileMode) const;
+ bool writeMetaData(const TQString & path, const TQDomDocument &doc) const;
+ TQDomDocument getMetaDocument(const TQString &path) const;
+ TQDomNode getBaseNode(const TQDomDocument &doc) const;
+ void makeMimeTypeInfo(const TQString& mimeType);
+ TQString stringFromNode(const TQDomNode &node, const TQString &name);
+ void getEditingTime(KFileMetaInfoGroup group1, const char *, TQString & txt);
+ void getDateTime(KFileMetaInfoGroup group1, const char *, TQString & txt);
};
#endif