[Qt-interest] QObject::disconnect() Return Value

Scott Bloom scott.bloom at onshorecs.com
Thu Jul 1 04:14:07 CEST 2010


If the signal or slot declarations are bad (have a variable etc) or if the
signal or slot doesn't exist.

Scott


On 6/30/10 6:22 PM, "Jeffery MacEachern" <j.maceachern at gmail.com> wrote:

> The Qt documentation states that QObject::disconnect() "Returns true
> if the connection is successfully broken; otherwise returns false.".
> In what type of situation would it fail to disconnect?  I don't recall
> seeing the return value checked in any example code that I have read.
> 
> - Jeffery MacEachern
> _______________________________________________
> 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