summaryrefslogtreecommitdiffstats
path: root/karbon/core/vdocument.h
diff options
context:
space:
mode:
Diffstat (limited to 'karbon/core/vdocument.h')
-rw-r--r--karbon/core/vdocument.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/karbon/core/vdocument.h b/karbon/core/vdocument.h
index 577dd1c2..45270d2e 100644
--- a/karbon/core/vdocument.h
+++ b/karbon/core/vdocument.h
@@ -23,23 +23,23 @@
#include <KoUnit.h>
-#include <qstring.h>
-#include <qptrlist.h>
-#include <qptrdict.h>
+#include <tqstring.h>
+#include <tqptrlist.h>
+#include <tqptrdict.h>
#include "vobject.h"
#include "karbon_grid_data.h"
#include <koffice_export.h>
-class QDomDocument;
-class QDomElement;
+class TQDomDocument;
+class TQDomElement;
class VSelection;
class VLayer;
class KoPageLayout;
-typedef QPtrList<VLayer> VLayerList;
-typedef QPtrListIterator<VLayer> VLayerListIterator;
+typedef TQPtrList<VLayer> VLayerList;
+typedef TQPtrListIterator<VLayer> VLayerListIterator;
/**
@@ -83,7 +83,7 @@ public:
* Draw the document frame to a painting device.
*
* @param painter abstraction that is used to render to a painting device.
- * @param pl layout describing the page to draw on (restricting the painter)
+ * @param pl tqlayout describing the page to draw on (restricting the painter)
* @param drawPageMargins if @c true, also draw the crop marks for the page margins,
* otherwise, don't draw them.
*/
@@ -216,14 +216,14 @@ public:
*/
const VLayerList& layers() const { return m_layers; }
- QDomDocument saveXML() const;
+ TQDomDocument saveXML() const;
virtual void saveOasis( KoStore *store, KoXmlWriter *docWriter, KoGenStyles &mainStyles ) const;
enum { STYLE_GRAPHICAUTO = 20, STYLE_LINEAR_GRADIENT, STYLE_RADIAL_GRADIENT, STYLE_STROKE };
- bool loadXML( const QDomElement& doc );
- virtual bool loadOasis( const QDomElement &element, KoOasisLoadingContext &context );
- virtual void save( QDomElement& element ) const;
- virtual void load( const QDomElement& element );
- void loadDocumentContent( const QDomElement& doc );
+ bool loadXML( const TQDomElement& doc );
+ virtual bool loadOasis( const TQDomElement &element, KoOasisLoadingContext &context );
+ virtual void save( TQDomElement& element ) const;
+ virtual void load( const TQDomElement& element );
+ void loadDocumentContent( const TQDomElement& doc );
virtual VDocument* clone() const;
@@ -265,7 +265,7 @@ public:
* @param obj the object to retrieve name for
* @return the custom name of the object or an empty string if no custom name is set
*/
- QString objectName( const VObject *obj ) const;
+ TQString objectName( const VObject *obj ) const;
/**
* Sets custom name of specified object.
@@ -276,7 +276,7 @@ public:
* @param obj the object to set custom name for
* @param name the the custom name to set
*/
- void setObjectName( const VObject *obj, const QString name ) { m_objectNames.insert( obj, name ); }
+ void setObjectName( const VObject *obj, const TQString name ) { m_objectNames.insert( obj, name ); }
bool saveAsPath() const { return m_saveAsPath; }
void saveAsPath( bool b ) { m_saveAsPath = b; }
@@ -315,7 +315,7 @@ private:
*/
KoUnit::Unit m_unit;
- QMap<const VObject *, QString> m_objectNames;
+ TQMap<const VObject *, TQString> m_objectNames;
// TODO this flag is used nowhere, can we remove it?
bool m_saveAsPath;