summaryrefslogtreecommitdiffstats
path: root/lib/kofficecore/KoOasisLoadingContext.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kofficecore/KoOasisLoadingContext.h')
-rw-r--r--lib/kofficecore/KoOasisLoadingContext.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/lib/kofficecore/KoOasisLoadingContext.h b/lib/kofficecore/KoOasisLoadingContext.h
index cac1786b..880d4117 100644
--- a/lib/kofficecore/KoOasisLoadingContext.h
+++ b/lib/kofficecore/KoOasisLoadingContext.h
@@ -20,15 +20,15 @@
#define KOOASISLOADINGCONTEXT_H
class KoXmlWriter;
-class QDomElement;
+class TQDomElement;
class KoDocument;
class KoOasisStyles;
class KoPictureCollection;
class KoStore;
-#include <qmap.h>
+#include <tqmap.h>
#include <koffice_export.h>
-#include <qstringlist.h>
+#include <tqstringlist.h>
#include <KoStyleStack.h>
/**
@@ -57,10 +57,10 @@ public:
KoOasisStyles& oasisStyles() { return m_styles; }
KoStyleStack& styleStack() { return m_styleStack; }
- const QDomDocument& manifestDocument() const { return m_manifestDoc; }
+ const TQDomDocument& manifestDocument() const { return m_manifestDoc; }
/// Return the <meta:generator> of the document, e.g. "KOffice/1.4.0a"
- QString generator() const;
+ TQString generator() const;
/**
* Convenience method for loading the style of an object
@@ -68,21 +68,21 @@ public:
*
* Read attribute (nsURI,attrName) from the given dom element,
* treat that attribute as a style name, and load that style
- * including all its parent styles.
+ * including all its tqparent styles.
* @param element the dom element to read the attribute from
* @param nsURI the namespace URI of the attribute to read
* @param attrName the name of the attribute to read
* @param family the style family used for this object
*/
- void fillStyleStack( const QDomElement& element, const char* nsURI, const char* attrName, const char* family );
+ void fillStyleStack( const TQDomElement& element, const char* nsURI, const char* attrName, const char* family );
/**
- * Add @p style to the stack, as well as all its parent styles
+ * Add @p style to the stack, as well as all its tqparent styles
* and the default style for this style family.
*
* @param style the dom element containing the style to add to the stack
- * @param family the family to use when looking up parent styles
- * @param usingStylesAutoStyles if true, the parent styles are looked up
+ * @param family the family to use when looking up tqparent styles
+ * @param usingStylesAutoStyles if true, the tqparent styles are looked up
* in the automatic styles from styles.xml, instead of looking up
* in the automatic styles from content.xml as we usually do.
* This is useful for loading headers and footers for instance.
@@ -90,7 +90,7 @@ public:
*
* Usually you would call fillStyleStack() instead.
*/
- void addStyles( const QDomElement* style, const char* family, bool usingStylesAutoStyles = false );
+ void addStyles( const TQDomElement* style, const char* family, bool usingStylesAutoStyles = false );
/// Set to true while loading headers and footers, to remember to use auto styles
/// from styles.xml
@@ -106,13 +106,13 @@ private:
KoOasisStyles& m_styles;
KoStyleStack m_styleStack;
- mutable QString m_generator;
+ mutable TQString m_generator;
mutable bool m_metaXmlParsed;
bool m_useStylesAutoStyles;
bool m_unused1; // padding, can be used later
bool m_unused2; // padding, can be used later
- QDomDocument m_manifestDoc;
+ TQDomDocument m_manifestDoc;
class Private;
Private *d;