summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2010-06-30 05:16:12 (GMT)
committerMartin Jones <martin.jones@nokia.com>2010-06-30 05:16:12 (GMT)
commit5f5c234f7ca57ca1db7b30d358e6c63bf4643c7b (patch)
treebeef4f9caa20afb7274708784d1aef8c31eccf7d
parent966fe022d5b4a9f108138c0b0889d07d46f8e0ca (diff)
downloadQt-5f5c234f7ca57ca1db7b30d358e6c63bf4643c7b.zip
Qt-5f5c234f7ca57ca1db7b30d358e6c63bf4643c7b.tar.gz
Qt-5f5c234f7ca57ca1db7b30d358e6c63bf4643c7b.tar.bz2
Remove the old font.outline documentation
Text.style is the correct property, and this has never been available in TextInput or TextEdit. Task-number: QTBUG-11828
-rw-r--r--src/declarative/graphicsitems/qdeclarativetext.cpp8
-rw-r--r--src/declarative/graphicsitems/qdeclarativetextedit.cpp6
-rw-r--r--src/declarative/graphicsitems/qdeclarativetextinput.cpp6
3 files changed, 2 insertions, 18 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativetext.cpp b/src/declarative/graphicsitems/qdeclarativetext.cpp
index 2ba680d..e97d362 100644
--- a/src/declarative/graphicsitems/qdeclarativetext.cpp
+++ b/src/declarative/graphicsitems/qdeclarativetext.cpp
@@ -225,12 +225,6 @@ QDeclarativeTextPrivate::~QDeclarativeTextPrivate()
*/
/*!
- \qmlproperty bool Text::font.outline
-
- Sets whether the font has an outline style.
-*/
-
-/*!
\qmlproperty bool Text::font.strikeout
Sets whether the font has a strikeout style.
@@ -441,6 +435,8 @@ void QDeclarativeText::setStyleColor(const QColor &color)
\qml
Text { font.pointSize: 18; text: "hello"; style: Text.Raised; styleColor: "gray" }
\endqml
+
+ \sa style
*/
QColor QDeclarativeText::styleColor() const
{
diff --git a/src/declarative/graphicsitems/qdeclarativetextedit.cpp b/src/declarative/graphicsitems/qdeclarativetextedit.cpp
index bafa10c..8098aba 100644
--- a/src/declarative/graphicsitems/qdeclarativetextedit.cpp
+++ b/src/declarative/graphicsitems/qdeclarativetextedit.cpp
@@ -186,12 +186,6 @@ QString QDeclarativeTextEdit::text() const
*/
/*!
- \qmlproperty bool TextEdit::font.outline
-
- Sets whether the font has an outline style.
-*/
-
-/*!
\qmlproperty bool TextEdit::font.strikeout
Sets whether the font has a strikeout style.
diff --git a/src/declarative/graphicsitems/qdeclarativetextinput.cpp b/src/declarative/graphicsitems/qdeclarativetextinput.cpp
index ef40f98..8d68129 100644
--- a/src/declarative/graphicsitems/qdeclarativetextinput.cpp
+++ b/src/declarative/graphicsitems/qdeclarativetextinput.cpp
@@ -152,12 +152,6 @@ void QDeclarativeTextInput::setText(const QString &s)
*/
/*!
- \qmlproperty bool TextInput::font.outline
-
- Sets whether the font has an outline style.
-*/
-
-/*!
\qmlproperty bool TextInput::font.strikeout
Sets whether the font has a strikeout style.