paragui-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [paragui-users] Signal Problem


From: Ulf Lorenz
Subject: Re: [paragui-users] Signal Problem
Date: Fri, 25 Mar 2005 16:03:08 +0100
User-agent: Mutt/1.5.6+20040907i

On Sun, Mar 20, 2005 at 02:28:48PM -0800, Dimitris Mexis wrote:
>       rdoNation->sigClick.connect(&clsStartUp::handle_selectitem );
This must be something like

rdoNation->sigClick.connect(SigC::slot(*clsStartUpInstancePointer,
                    &clsStartUp::handle_selectitem);

The SigC:: can be omitted (paragui headers usually have a
"using namespace SigC" buried somewhere).

SigC::slot makes a proper slot from the arguments and must always be
called. This function needs, beside the function to be called, an
instance (obviously, you want to call handle_selectitem of a specific
object) of the appropriate class.


Ulf

-- 
recursive:
            see recursive




reply via email to

[Prev in Thread] Current Thread [Next in Thread]