-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

In a "connector":

WPushButton* pb = new WPushButton(tr("update"));
pb->clicked().connect(this, &Users::listUpdate);

If I want use Parameters inside listUpdate function:

void Assets::listUpdate(int type, string path) { ... }

I can't do:
pb->clicked().connect(this, &Users::listUpdate(1, "home"));


What I can do?  Use a WSignalMapper ? Or is there another better way?

Thank you,
John
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJQtGvGAAoJEOjf7XlrDgBAO0QIAK+5hkZOIX6B9xmyBam/R6Nc
L7BBEhsAtVsneyYWYHbOmvIpPzntEDtKq6z/jqIOHFJ+XY4vAOz+fcwo2NV1d5b2
CPuPPd28WwLcFF/XnFnxnoIK8RGSbzztIwA8xuycDkiqHaR+2G1RpsqeIsKfv02P
M3THxexIIhdwkXVvRVylyZXNU+fpgBjfFEzYyJ/NnBD4cm4nIGLzGhNIQSEx2X7b
ozjJO+0O0Ka/WSQpv1qjL0c3tfxtcH15dKgsgsG3E2HgXDa0fPHJJ0/j3GqikwOc
+TONhD3Mnehy+8Vd1czIgdQ2HvScd9A6KMHWTWgWdCFE9Xa6jwSgLS60aps/a8Y=
=Pjdy
-----END PGP SIGNATURE-----


------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to