summaryrefslogtreecommitdiffstats
path: root/doc/src/declarative/focus.qdoc
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2009-10-07 05:02:04 (GMT)
committerBea Lam <bea.lam@nokia.com>2009-10-07 05:02:04 (GMT)
commite79cf93c8b724c8eac042e68ba8dee0b9f2feee3 (patch)
treed99ea69b661fa00e15c1e5defc963730a8859bd1 /doc/src/declarative/focus.qdoc
parent4937e19f2ec5c51e31806eae1156bb3c19d1e485 (diff)
downloadQt-e79cf93c8b724c8eac042e68ba8dee0b9f2feee3.zip
Qt-e79cf93c8b724c8eac042e68ba8dee0b9f2feee3.tar.gz
Qt-e79cf93c8b724c8eac042e68ba8dee0b9f2feee3.tar.bz2
Remove redundant QFxItem::activeFocusChanged(); is not used anywhere,
presumedly replaced by QFxItem::focusChanged().
Diffstat (limited to 'doc/src/declarative/focus.qdoc')
-rw-r--r--doc/src/declarative/focus.qdoc6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/src/declarative/focus.qdoc b/doc/src/declarative/focus.qdoc
index 028b5f0..dd5dcaf 100644
--- a/doc/src/declarative/focus.qdoc
+++ b/doc/src/declarative/focus.qdoc
@@ -35,12 +35,12 @@ Item {
\section1 Querying the Active Focus Item
Whether or not an \l Item has \e {active focus} can be queried through the
-read-only property \c {Item::activeFocus}. For example, here we have a \l Text
+read-only property \c {Item::focus}. For example, here we have a \l Text
element whose text is determined by whether or not it has \e {active focus}.
\code
Text {
- text: activeFocus ? "I have active focus!" : "I do not have active focus"
+ text: focus ? "I have active focus!" : "I do not have active focus"
}
\endcode
@@ -167,7 +167,7 @@ Conceptually \e {focus scopes} are quite simple.
\o Within each \e {focus scope} one element may have \c {Item::focus} set to true. If more than one \l Item has the \c {Item::focus} property set, the first is selected and the others are unset, just like when there are no \e {focus scopes}.
\o When a \e {focus scope} receives \e {active focus}, the contained element with \c {Item::focus} set (if any) also gets \e {active focus}. If this element is
also a \l FocusScope, the proxying behaviour continues. Both the
-\e {focus scope} and the sub-focused item will have \c {Item::activeFocus} set.
+\e {focus scope} and the sub-focused item will have \c {Item::focus} set.
\endlist
So far the example has the second component statically selected. It is trivial