diff options
Diffstat (limited to 'src/gui/text/qstatictext.h')
-rw-r--r-- | src/gui/text/qstatictext.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/gui/text/qstatictext.h b/src/gui/text/qstatictext.h index a25bef8..4976039 100644 --- a/src/gui/text/qstatictext.h +++ b/src/gui/text/qstatictext.h @@ -58,10 +58,9 @@ class Q_GUI_EXPORT QStaticText public: QStaticText(); QStaticText(const QString &text, const QFont &font = QFont(), const QSizeF &maximumSize = QSizeF()); + QStaticText(const QStaticText &other); ~QStaticText(); - void isValid() const; - void setText(const QString &text); QString text() const; @@ -71,8 +70,15 @@ public: void setMaximumSize(const QSizeF &maximumSize); QSizeF maximumSize() const; + QStaticText &operator=(const QStaticText &); + bool operator==(const QStaticText &) const; + bool operator!=(const QStaticText &) const; + + QString toString() const; private: + void detach(); + QStaticTextPrivate *d_ptr; }; |