summaryrefslogtreecommitdiffstats
path: root/examples/widgets/doc
diff options
context:
space:
mode:
authorAlexander Volkov <a.volkov@rusbitech.ru>2018-11-02 16:56:56 +0300
committerAlexander Volkov <avolkov@astralinux.ru>2020-09-25 18:04:06 +0300
commita51b7844ca988dcc4d18d18dd0785acf15319413 (patch)
treec807cde45c766b7f8589daafd40bcc0d0002fbfa /examples/widgets/doc
parent065c4021adab9dee72d0cb815a27e17e8fc4db1c (diff)
Stylesheet example: Get rid of auto-connection slots
Change-Id: I55d89cf33e5f9c8aef3a3dfbbdcd212415d35bcb Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'examples/widgets/doc')
-rw-r--r--examples/widgets/doc/src/stylesheet.qdoc16
1 files changed, 8 insertions, 8 deletions
diff --git a/examples/widgets/doc/src/stylesheet.qdoc b/examples/widgets/doc/src/stylesheet.qdoc
index 26c5663022..b51f1bed41 100644
--- a/examples/widgets/doc/src/stylesheet.qdoc
+++ b/examples/widgets/doc/src/stylesheet.qdoc
@@ -58,23 +58,23 @@
\c stylesheeteditor.ui.
\quotefromfile widgets/stylesheet/stylesheeteditor.cpp
- \skipto on_styleCombo_activated
- \printline on_styleCombo_activated
+ \skipto setStyleName
+ \printline setStyleName
Sets the specified \a styleName and grays the \c applyButton.
- \skipto on_styleSheetCombo_activated
- \printline on_styleSheetCombo_activated
+ \skipto setStyleSheetName
+ \printline setStyleSheetName
Loads the stylesheet from \c styleSheetName.
- \skipto on_styleTextEdit_textChanged()
- \printline on_styleTextEdit_textChanged()
+ \skipto setModified()
+ \printline setModified()
Enables the \c applyButton when the text in the buffer has changed.
- \skipto on_applyButton_clicked()
- \printline on_applyButton_clicked()
+ \skipto apply()
+ \printline apply()
Sets the stylesheet properties in \l qApp and disables the \c applyButton.