[Qt-interest] State Machine implementation
Chirag Anand
anand.chirag at gmail.com
Thu Feb 3 07:21:22 CET 2011
> But I don't think I can realize that using signals ? How can you pass the
> params from the signal to another state ? Do I need some custom events
> instead ?
There can be another (specific?) solution if you want to pass an argument via a
signal. Create a private pointer to the data which you want to
pass and access it directly inside the next state. Though you'd have to
emit the signal with the appropriate signature.
--
Regards
Chirag Anand
Blog: http://techfreaks4u.com/blog/?author=16
anything weird is worth a try...
More information about the Qt-interest-old
mailing list