[Qt-interest] Force the emission of a signal

Andrea Franceschini therealmorpheu5 at gmail.com
Fri Mar 20 17:58:39 CET 2009


2009/3/20, Thiago Macieira <thiago.macieira at trolltech.com>:

>                 ((QDnsUgleHack*)dns)->ugle( TRUE );

I fail to understand how this is functionally different from having a
private member in the class that emits the signal and having another
class (which is declared friend of the first class) call that method.
Substantially it simply would remove an indirection level.

Uh, wait. Your example assumes that I don't have access to QDns in the
first place, right?

-- 
Andrea



More information about the Qt-interest-old mailing list