summaryrefslogtreecommitdiffstats
path: root/kivio/kiviopart/kiviosdk/kivio_layer.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 /kivio/kiviopart/kiviosdk/kivio_layer.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 'kivio/kiviopart/kiviosdk/kivio_layer.h')
-rw-r--r--kivio/kiviopart/kiviosdk/kivio_layer.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/kivio/kiviopart/kiviosdk/kivio_layer.h b/kivio/kiviopart/kiviosdk/kivio_layer.h
index 88cbe2e0..957f5d26 100644
--- a/kivio/kiviopart/kiviosdk/kivio_layer.h
+++ b/kivio/kiviopart/kiviosdk/kivio_layer.h
@@ -19,9 +19,9 @@
#ifndef KIVIO_LAYER_H
#define KIVIO_LAYER_H
-#include <qdom.h>
-#include <qptrlist.h>
-#include <qobject.h>
+#include <tqdom.h>
+#include <tqptrlist.h>
+#include <tqobject.h>
#include <KoPoint.h>
class KivioConnectorPoint;
class KivioConnectorTarget;
@@ -30,7 +30,7 @@ class KivioPainter;
class KoPoint;
class DCOPObject;
class KoZoomHandler;
-class QDomElement;
+class TQDomElement;
class KoStore;
class KoXmlWriter;
@@ -47,15 +47,15 @@ protected:
friend class KivioGroupStencil;
int m_flags;
- QPtrList <KivioStencil> *m_pStencilList;
- QPtrList <KivioStencil> *m_pDeletedStencilList;
- QString m_name;
+ TQPtrList <KivioStencil> *m_pStencilList;
+ TQPtrList <KivioStencil> *m_pDeletedStencilList;
+ TQString m_name;
KivioPage *m_pPage;
DCOPObject* m_dcop;
- KivioStencil *loadSMLStencil( const QDomElement & );
- KivioStencil *loadGroupStencil( const QDomElement & );
- KivioStencil *loadPluginStencil( const QDomElement & );
+ KivioStencil *loadSMLStencil( const TQDomElement & );
+ KivioStencil *loadGroupStencil( const TQDomElement & );
+ KivioStencil *loadPluginStencil( const TQDomElement & );
public:
@@ -66,7 +66,7 @@ public:
virtual DCOPObject* dcopObject();
- QPtrList<KivioStencil> *stencilList() { return m_pStencilList; }
+ TQPtrList<KivioStencil> *stencilList() { return m_pStencilList; }
bool visible() { return (m_flags & FLOW_LAYER_VISIBLE); }
void setVisible( bool f );
@@ -80,27 +80,27 @@ public:
void setPrintable(bool f);
bool printable() { return !(m_flags & FLOW_LAYER_NOT_PRINTABLE); }
- QString name() const { return m_name; }
- void setName( const QString &n ) { m_name = QString(n); }
+ TQString name() const { return m_name; }
+ void setName( const TQString &n ) { m_name = TQString(n); }
bool addStencil( KivioStencil * );
bool removeStencil( KivioStencil * );
- bool loadXML( const QDomElement & );
- void loadOasis(const QDomElement& layer);
- QDomElement saveXML( QDomDocument & );
+ bool loadXML( const TQDomElement & );
+ void loadOasis(const TQDomElement& layer);
+ TQDomElement saveXML( TQDomDocument & );
void saveOasis(KoXmlWriter* layerWriter);
KivioStencil *checkForStencil( KoPoint *, int *, float, bool );
void printContent( KivioPainter& painter, int xdpi = 0, int ydpi = 0 );
void printContent(KivioPainter& painter, KoZoomHandler* zoomHandler);
- void paintContent( KivioPainter& painter, const QRect& rect, bool transparent, QPoint p0,
+ void paintContent( KivioPainter& painter, const TQRect& rect, bool transparent, TQPoint p0,
KoZoomHandler* zoom );
- void paintConnectorTargets( KivioPainter& painter, const QRect& rect, bool transparent,
- QPoint p0, KoZoomHandler* zoom );
- void paintSelectionHandles( KivioPainter& painter, const QRect& rect, bool transparent,
- QPoint p0, KoZoomHandler* zoom );
+ void paintConnectorTargets( KivioPainter& painter, const TQRect& rect, bool transparent,
+ TQPoint p0, KoZoomHandler* zoom );
+ void paintSelectionHandles( KivioPainter& painter, const TQRect& rect, bool transparent,
+ TQPoint p0, KoZoomHandler* zoom );
KivioStencil *firstStencil() { return m_pStencilList->first(); }
KivioStencil *nextStencil() { return m_pStencilList->next(); }