thx for the answer, Phil !

Phil Thompson wrote:
On Mon, 05 Jul 2010 21:36:02 +0200, Zoltan Szalai <[email protected]> wrote:
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.

They tell Qt that the rest of the string refers to a signal (rather than
'1' for a slot).

Phil

_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to