diff options
author | Frederik Gladhorn <frederik.gladhorn@digia.com> | 2013-02-19 14:33:16 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-02-19 14:33:16 +0100 |
commit | eb338eabd276487f7779d7b682e7369f3903313e (patch) | |
tree | 6e0badaf3f762d8b4486fba8da6c642f3be54815 /src/doc/src/declarative/qtbinding.qdoc | |
parent | d31f965b72a1bb8aba0b846471780e90fcc895ba (diff) | |
parent | aa8e59c09cb03f56047ca65c3e89dd6daeec4d73 (diff) |
Merge "Merge remote-tracking branch 'origin/stable' into dev" into refs/staging/dev
Diffstat (limited to 'src/doc/src/declarative/qtbinding.qdoc')
-rw-r--r-- | src/doc/src/declarative/qtbinding.qdoc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/doc/src/declarative/qtbinding.qdoc b/src/doc/src/declarative/qtbinding.qdoc index 58d28159..f173025c 100644 --- a/src/doc/src/declarative/qtbinding.qdoc +++ b/src/doc/src/declarative/qtbinding.qdoc @@ -391,8 +391,8 @@ say you have a custom element \c PushButton with a \c buttonText property that i the value of a \c m_buttonText member variable. Modifying the member variable directly like this is not a good idea: -\badcode -// BAD! +\code +//bad code QDeclarativeComponent component(engine, "MyButton.qml"); PushButton *button = qobject_cast<PushButton*>(component.create()); button->m_buttonText = "Click me"; @@ -665,5 +665,3 @@ be used to build the application resources: See \l {The Qt Resource System} for more information. */ - - |