diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:32:11 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:32:11 -0600 |
commit | 94844816550ad672ccfcdc25659c625546239998 (patch) | |
tree | e35fc60fd736c645d59f6408af032774ad8023d3 /kivio/kiviopart/kiviosdk/kivio_shape_data.h | |
parent | 2a811c38c74c03648ecf857e566c44483cbad706 (diff) | |
download | koffice-94844816550ad672ccfcdc25659c625546239998.tar.gz koffice-94844816550ad672ccfcdc25659c625546239998.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kivio/kiviopart/kiviosdk/kivio_shape_data.h')
-rw-r--r-- | kivio/kiviopart/kiviosdk/kivio_shape_data.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kivio/kiviopart/kiviosdk/kivio_shape_data.h b/kivio/kiviopart/kiviosdk/kivio_shape_data.h index f97e5ec9..bd89dcc8 100644 --- a/kivio/kiviopart/kiviosdk/kivio_shape_data.h +++ b/kivio/kiviopart/kiviosdk/kivio_shape_data.h @@ -36,11 +36,11 @@ class KivioTextShapeData public: KivioTextShapeData(); - TQString m_text; // The text inside this tqshape + TQString m_text; // The text inside this shape TQColor m_textColor; // The text color TQFont m_textFont; // The text font bool m_isHtml; // Is the text HTML formatted? - int m_hTextAlign, m_vTextAlign; //Qt::Horizontal and vertical text tqalignment flags + int m_hTextAlign, m_vTextAlign; //Qt::Horizontal and vertical text alignment flags }; /** @@ -52,7 +52,7 @@ class KivioShapeData { public: /** - * The possible tqshape types. + * The possible shape types. */ typedef enum { kstNone = 0, @@ -75,7 +75,7 @@ protected: TQPtrList <KivioPoint> *m_pOriginalPointList; // Original point list loaded from an SML file - KivioShapeType m_tqshapeType; // The tqshape type + KivioShapeType m_shapeType; // The shape type KivioPoint m_position, m_dimensions; // The position and dimensions KivioFillStyle *m_pFillStyle; // The fill style @@ -83,7 +83,7 @@ protected: // float m_lineWidth; // The line width KivioLineStyle *m_pLineStyle; - TQString m_name; // The name of this tqshape + TQString m_name; // The name of this shape KivioTextStyle *m_pTextData; // A pointer to text data (if applicable, e.g. TextBox) @@ -98,10 +98,10 @@ public: virtual TQDomElement saveXML( TQDomDocument & ); - KivioShapeType tqshapeType() const { return m_tqshapeType; } + KivioShapeType shapeType() const { return m_shapeType; } void setShapeType( KivioShapeType st ); - static KivioShapeType tqshapeTypeFromString( const TQString & ); + static KivioShapeType shapeTypeFromString( const TQString & ); TQPtrList<KivioPoint> *pointList() { return m_pOriginalPointList; } |