aboutsummaryrefslogtreecommitdiff
path: root/src/corelib/widgets/mlabelmodel.h
diff options
context:
space:
mode:
authorarsantil <dui-team.arsantil@fi.symbio.com>2010-09-21 14:52:03 +0300
committerSergiy Dubovik <sergiy.dubovik@nokia.com>2010-10-11 13:12:40 +0300
commit7dad1f5bc2996978b8097889ad18167871041336 (patch)
tree8d5a69d4e0db4f78271f3ce0f1d383b5909133c6 /src/corelib/widgets/mlabelmodel.h
parent3d0f1d96e09fd801a9a888f415f10b3bb8707c85 (diff)
Changes: Add MLabel::setTextFormat
Details: Can be used to force rich or plain text modes
Diffstat (limited to 'src/corelib/widgets/mlabelmodel.h')
-rw-r--r--src/corelib/widgets/mlabelmodel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/widgets/mlabelmodel.h b/src/corelib/widgets/mlabelmodel.h
index e80140aa..49a14e38 100644
--- a/src/corelib/widgets/mlabelmodel.h
+++ b/src/corelib/widgets/mlabelmodel.h
@@ -122,6 +122,8 @@ class M_EXPORT MLabelModel : public MWidgetModel
*/
M_MODEL_PROPERTY(QList<MLabelHighlighter *>, highlighters, Highlighters, true, QList<MLabelHighlighter *>())
+ M_MODEL_PROPERTY(Qt::TextFormat, textFormat, TextFormat, true, Qt::AutoText)
+
public:
void emitLinkActivated(const QString &link) const {
Q_EMIT linkActivated(link);