summaryrefslogtreecommitdiffstats
path: root/doc/src/examples/qtscriptcalculator.qdoc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/examples/qtscriptcalculator.qdoc')
-rw-r--r--doc/src/examples/qtscriptcalculator.qdoc6
1 files changed, 2 insertions, 4 deletions
diff --git a/doc/src/examples/qtscriptcalculator.qdoc b/doc/src/examples/qtscriptcalculator.qdoc
index 0e6e153..7adce5a 100644
--- a/doc/src/examples/qtscriptcalculator.qdoc
+++ b/doc/src/examples/qtscriptcalculator.qdoc
@@ -89,10 +89,8 @@
\snippet examples/script/calculator/calculator.js 1
- The digitClicked() function uses the special local variable
- __qt_sender__ to access the object that triggered the signal;
- this gives us a simple way to retrieve the value of the digit
- that was clicked.
+ The digitClicked() function is called when a digit button is
+ clicked, with the input digit as argument.
\snippet examples/script/calculator/calculator.js 2