diff options
Diffstat (limited to 'kivio/kiviopart/kiviosdk/kivio_1d_stencil.h')
-rw-r--r-- | kivio/kiviopart/kiviosdk/kivio_1d_stencil.h | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/kivio/kiviopart/kiviosdk/kivio_1d_stencil.h b/kivio/kiviopart/kiviosdk/kivio_1d_stencil.h index a1af2086..b42d650b 100644 --- a/kivio/kiviopart/kiviosdk/kivio_1d_stencil.h +++ b/kivio/kiviopart/kiviosdk/kivio_1d_stencil.h @@ -5,8 +5,8 @@ #include <config.h> #endif -#include <qdom.h> -#include <qptrlist.h> +#include <tqdom.h> +#include <tqptrlist.h> #include <koffice_export.h> @@ -25,7 +25,7 @@ class KivioStencil; class KIVIO_EXPORT Kivio1DStencil : public KivioStencil { protected: - QPtrList <KivioConnectorPoint> *m_pConnectorPoints; + TQPtrList <KivioConnectorPoint> *m_pConnectorPoints; KivioConnectorPoint *m_pStart, *m_pEnd; KivioConnectorPoint *m_pLeft, *m_pRight; @@ -43,15 +43,15 @@ protected: bool boolAllTrue( bool *, int ); bool boolContainsFalse( bool *, int ); - virtual QDomElement createRootElement( QDomDocument & ); + virtual TQDomElement createRootElement( TQDomDocument & ); - virtual bool saveCustom( QDomElement &, QDomDocument & ); - QDomElement saveConnectors( QDomDocument &doc ); - QDomElement saveProperties( QDomDocument &doc ); + virtual bool saveCustom( TQDomElement &, TQDomDocument & ); + TQDomElement saveConnectors( TQDomDocument &doc ); + TQDomElement saveProperties( TQDomDocument &doc ); - virtual bool loadCustom( const QDomElement & ); - bool loadConnectors( const QDomElement & ); - bool loadProperties( const QDomElement & ); + virtual bool loadCustom( const TQDomElement & ); + bool loadConnectors( const TQDomElement & ); + bool loadProperties( const TQDomElement & ); // For easier duplication void copyBasicInto( Kivio1DStencil * ); @@ -64,22 +64,22 @@ public: virtual bool connected(); // fg color functions - virtual void setFGColor( QColor c ); - virtual QColor fgColor(); + virtual void setFGColor( TQColor c ); + virtual TQColor fgColor(); // bg color functions - virtual void setBGColor( QColor c ); - virtual QColor bgColor(); + virtual void setBGColor( TQColor c ); + virtual TQColor bgColor(); - virtual void setText( const QString & t ) { m_pTextStyle->setText(t); } - virtual QString text() { return m_pTextStyle->text(); } + virtual void setText( const TQString & t ) { m_pTextStyle->setText(t); } + virtual TQString text() { return m_pTextStyle->text(); } - virtual void setTextColor( QColor c ) { m_pTextStyle->setColor(c); } - virtual QColor textColor() { return m_pTextStyle->color(); } + virtual void setTextColor( TQColor c ) { m_pTextStyle->setColor(c); } + virtual TQColor textColor() { return m_pTextStyle->color(); } - virtual QFont textFont() { return m_pTextStyle->font(); } - virtual void setTextFont( const QFont &f ) { m_pTextStyle->setFont(f); } + virtual TQFont textFont() { return m_pTextStyle->font(); } + virtual void setTextFont( const TQFont &f ) { m_pTextStyle->setFont(f); } virtual int hTextAlign() { return m_pTextStyle->hTextAlign(); } virtual int vTextAlign() { return m_pTextStyle->vTextAlign(); } @@ -124,14 +124,14 @@ public: virtual void customDrag( KivioCustomDragData * ); - // geometry management + // tqgeometry management virtual void updateGeometry(); virtual void updateConnectorPoints( KivioConnectorPoint *, double, double ); // file i/o routines - virtual bool loadXML( const QDomElement & ); - virtual QDomElement saveXML( QDomDocument & ); + virtual bool loadXML( const TQDomElement & ); + virtual TQDomElement saveXML( TQDomDocument & ); // duplication routines |