diff options
Diffstat (limited to 'kivio/kiviopart/kiviosdk/kivio_layer.h')
-rw-r--r-- | kivio/kiviopart/kiviosdk/kivio_layer.h | 42 |
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(); } |