summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2010-06-07 16:23:37 -0300
committerMarcelo Lira <marcelo.lira@openbossa.org>2010-06-07 16:26:45 -0300
commit471486732b03cbb42b884158604a59d5a18e8a35 (patch)
treec6c226ff9e9019961b86a4ff6d76aba0db8cf293 /doc
parentca1533509e52479e222710469d4eb2fd898f18b2 (diff)
downloadpyside-471486732b03cbb42b884158604a59d5a18e8a35.tar.gz
pyside-471486732b03cbb42b884158604a59d5a18e8a35.tar.xz
pyside-471486732b03cbb42b884158604a59d5a18e8a35.zip
Removed an copy'n'paste error from the documentation of new style signals/slots.
Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/newsigslot.rst6
1 files changed, 1 insertions, 5 deletions
diff --git a/doc/newsigslot.rst b/doc/newsigslot.rst
index b73a6b9..15e9fca 100644
--- a/doc/newsigslot.rst
+++ b/doc/newsigslot.rst
@@ -30,16 +30,12 @@ New way: Signal() and Slot()
The new-style uses a different syntax to create and to connect signals/slots. The previous example could be rewritten as:
::
-
+
...
def someFunc():
print "someFunc has been called!"
- ...
-
- clicked = QtCore.Signal()
-
button = QtGui.QPushButton("Call someFunc")
button.clicked.connect(someFunc)