[PyQt] question about SIGNAL strings

Sathishkumar Duraisamy flowerslab at gmail.com
Tue Jul 6 10:58:05 BST 2010


Hi

You have to construct a QCoreApplication or QApplication and have to start
event loop.

On Tue, Jul 6, 2010 at 1:06 AM, Zoltan Szalai <flc at freemail.hu> 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.
>
> PyQt version: 4.7.3
> Qt version: 4.6.2
> Python version: 2.6.5
>
> thx
> Zoltan
>
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20100706/8593d380/attachment-0001.html>


More information about the PyQt mailing list