[Qt-interest] how to remove connect signal from object progrematclly

Mandeep Sandhu mandeepsandhu.chd at gmail.com
Fri Apr 16 07:14:15 CEST 2010


On Fri, Apr 16, 2010 at 9:59 AM, Meir Yanovich <meiry242 at gmail.com> wrote:
> hello all
> i have problem with QNetworkAccessManager finished signal that keep
> triggered even if i working from different module
> and different object my question is can i remove the connect signal/slot
> from object programmaticly ?

Yes you can. Have a look @:
http://doc.troll.no/4.6/qobject.html#disconnect

I'm using the static disconnect method in my program to disconnect my
slot from a signal programmatically.

HTH,
-mandeep

>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>



More information about the Qt-interest-old mailing list