[PyQt] question about SIGNAL strings

Zoltan Szalai flc at freemail.hu
Mon Jul 5 20:36:02 BST 2010


hello,

running the attached code snippet the result is as follows:
2destroyed(QObject*)
2aSignal()

i'd like to ask what are those '2'-s at the start of the strings for?
the result is the same if i'd just print out SIGNAL('aSignal()').
probably a stupid question but i'd like to understand how things work.

PyQt version: 4.7.3
Qt version: 4.6.2
Python version: 2.6.5

thx
Zoltan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signaltest.py
Type: text/x-python
Size: 436 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20100705/a09beb25/attachment.py>


More information about the PyQt mailing list