diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2010-06-07 16:23:37 -0300 |
---|---|---|
committer | Marcelo Lira <marcelo.lira@openbossa.org> | 2010-06-07 16:26:45 -0300 |
commit | 471486732b03cbb42b884158604a59d5a18e8a35 (patch) | |
tree | c6c226ff9e9019961b86a4ff6d76aba0db8cf293 | |
parent | ca1533509e52479e222710469d4eb2fd898f18b2 (diff) | |
download | pyside-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>
-rw-r--r-- | doc/newsigslot.rst | 6 |
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) |