Re: Porting From 1.2 to 2.4
- From: Jonathon Jongsma <jonathon quotidian org>
- To: "Scott @ Zaita" <poseidon zaita com>
- Cc: gtkmm-list gnome org
- Subject: Re: Porting From 1.2 to 2.4
- Date: Fri, 04 Jul 2008 08:23:37 -0500
Scott @ Zaita wrote:
Hey guys,
I have looked at the porting guide which recommends.
object.clicked.connect(SigC::slot(this,>KAppWindow::activation_proxy::activate));
be changed to
object.signal_clicked.connect(sigc::slot(*this,>KAppWindow::activation_proxy::activate));
However, I get a template error on this. Would:
object.signal_clicked.connect(sigc::mem_fun(*this,>KAppWindow::activation_proxy::activate));
Achieve the same result?
Regards,
Scott
Yes, sigc::mem_fun() is the function you should use
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]