diff options
Diffstat (limited to 'kivio/kiviopart/kiviosdk/kivio_sml_stencil.h')
-rw-r--r-- | kivio/kiviopart/kiviosdk/kivio_sml_stencil.h | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/kivio/kiviopart/kiviosdk/kivio_sml_stencil.h b/kivio/kiviopart/kiviosdk/kivio_sml_stencil.h index 240c99f6..30e53e93 100644 --- a/kivio/kiviopart/kiviosdk/kivio_sml_stencil.h +++ b/kivio/kiviopart/kiviosdk/kivio_sml_stencil.h @@ -20,11 +20,11 @@ #ifndef KIVIO_SML_STENCIL_H #define KIVIO_SML_STENCIL_H -#include <qptrlist.h> +#include <tqptrlist.h> #include "kivio_stencil.h" -class QDomElement; -class QColor; +class TQDomElement; +class TQColor; class KivioConnectorTarget; class KivioFillStyle; class KivioIntraStencilData; @@ -38,9 +38,9 @@ class KivioSMLStencil : public KivioStencil protected: friend class KivioSMLStencilSpawner; - QPtrList<KivioShape> *m_pShapeList; + TQPtrList<KivioShape> *m_pShapeList; KivioShape *m_pSubSelection; - QPtrList<KivioConnectorTarget> *m_pConnectorTargets; + TQPtrList<KivioConnectorTarget> *m_pConnectorTargets; // Offsets and scale which get reused in between // various drawing routines. To save time and @@ -90,18 +90,18 @@ protected: bool checkCollisionTextBox( KivioShape *, KoPoint * ); - KivioShape *locateShape( const QString & ); - void loadConnectorTargetListXML( const QDomElement & ); + KivioShape *locateShape( const TQString & ); + void loadConnectorTargetListXML( const TQDomElement & ); public: KivioSMLStencil(); virtual ~KivioSMLStencil(); - virtual bool loadXML( const QDomElement & ); - virtual QDomElement saveXML( QDomDocument & ); + virtual bool loadXML( const TQDomElement & ); + virtual TQDomElement saveXML( TQDomDocument & ); - virtual QPtrList<KivioShape> *shapeList() { return m_pShapeList; } + virtual TQPtrList<KivioShape> *tqshapeList() { return m_pShapeList; } virtual KivioShape *subSelection() { return m_pSubSelection; } virtual void paintOutline( KivioIntraStencilData * ); @@ -110,10 +110,10 @@ public: virtual KivioStencil *duplicate(); - virtual QColor fgColor(); - virtual QColor bgColor(); - virtual void setFGColor(QColor); - virtual void setBGColor(QColor); + virtual TQColor fgColor(); + virtual TQColor bgColor(); + virtual void setFGColor(TQColor); + virtual void setBGColor(TQColor); virtual void setLineWidth(double); virtual double lineWidth(); virtual void setLinePattern(int p); @@ -121,8 +121,8 @@ public: virtual void setFillPattern(int p); virtual int fillPattern(); - virtual void setTextColor( QColor ); - virtual void setTextFont( const QFont & ); + virtual void setTextColor( TQColor ); + virtual void setTextFont( const TQFont & ); virtual void setHTextAlign(int); virtual void setVTextAlign(int); @@ -130,11 +130,11 @@ public: virtual int hTextAlign(); virtual int vTextAlign(); - virtual QString text(); - virtual void setText( const QString & ); + virtual TQString text(); + virtual void setText( const TQString & ); - virtual QFont textFont(); - virtual QColor textColor(); + virtual TQFont textFont(); + virtual TQColor textColor(); virtual KivioCollisionType checkForCollision( KoPoint *, double ); @@ -154,29 +154,29 @@ public: /** Returns the name of the text box that is at @param p. - If there exist no text box at @param p then it returns QString::null. + If there exist no text box at @param p then it returns TQString(). */ - virtual QString getTextBoxName(const KoPoint& p); + virtual TQString getTextBoxName(const KoPoint& p); - virtual void setText(const QString& text, const QString& name); - virtual QString text(const QString& name); + virtual void setText(const TQString& text, const TQString& name); + virtual TQString text(const TQString& name); virtual void addConnectorTarget(const KoPoint&); virtual void removeConnectorTarget(const KoPoint&); virtual bool hasTextBox() const; - virtual QColor textColor(const QString& textBoxName); - virtual void setTextColor(const QString& textBoxName, const QColor& color); + virtual TQColor textColor(const TQString& textBoxName); + virtual void setTextColor(const TQString& textBoxName, const TQColor& color); - virtual QFont textFont(const QString& textBoxName); - virtual void setTextFont(const QString& textBoxName, const QFont& font); + virtual TQFont textFont(const TQString& textBoxName); + virtual void setTextFont(const TQString& textBoxName, const TQFont& font); - virtual int hTextAlign(const QString& textBoxName); - virtual int vTextAlign(const QString& textBoxName); + virtual int hTextAlign(const TQString& textBoxName); + virtual int vTextAlign(const TQString& textBoxName); - virtual void setHTextAlign(const QString& textBoxName, int align); - virtual void setVTextAlign(const QString& textBoxName, int align); + virtual void setHTextAlign(const TQString& textBoxName, int align); + virtual void setVTextAlign(const TQString& textBoxName, int align); }; #endif |