summaryrefslogtreecommitdiffstats
path: root/lib/kformula/kformulamimesource.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
commitf008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch)
tree8e9244c4d4957c36be81e15b566b4aa5ea26c982 /lib/kformula/kformulamimesource.h
parent1210f27b660efb7b37ff43ec68763e85a403471f (diff)
downloadkoffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz
koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lib/kformula/kformulamimesource.h')
-rw-r--r--lib/kformula/kformulamimesource.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/kformula/kformulamimesource.h b/lib/kformula/kformulamimesource.h
index 5619e43b..a58255eb 100644
--- a/lib/kformula/kformulamimesource.h
+++ b/lib/kformula/kformulamimesource.h
@@ -21,8 +21,8 @@
#ifndef KFORMULAMIMESOURCE_H
#define KFORMULAMIMESOURCE_H
-#include <qmime.h>
-#include <qdom.h>
+#include <tqmime.h>
+#include <tqdom.h>
#include "kformulacontainer.h"
#include <koffice_export.h>
@@ -31,15 +31,15 @@ KFORMULA_NAMESPACE_BEGIN
class FormulaElement;
-class KOFORMULA_EXPORT MimeSource : public QMimeSource, public FormulaDocument
+class KOFORMULA_EXPORT MimeSource : public TQMimeSource, public FormulaDocument
{
public:
- MimeSource(Document* doc, const QDomDocument& formula);
+ MimeSource(Document* doc, const TQDomDocument& formula);
~MimeSource();
virtual const char* format ( int n = 0 ) const;
virtual bool provides ( const char * ) const;
- virtual QByteArray encodedData ( const char * ) const;
+ virtual TQByteArray tqencodedData ( const char * ) const;
virtual const SymbolTable& getSymbolTable() const;
@@ -49,8 +49,8 @@ private:
Document* formulaDocument;
- QDomDocument document;
- QByteArray latexString;
+ TQDomDocument document;
+ TQByteArray latexString;
FormulaElement* rootElement;
};