clicked() - zero arguments
setCameraPosition(const Ogre::Vector3&) - one argument
=> not allowed. How is clicked() signal meant to make up a value for Vector3d? Guess it?
signal(int, char) - two arguments
slot(int) - one argument
This signal can be connected to the slot because the signal has more arguments.
signal(int) - twoone arguments
slot(int, char) - onetwo argument
This signal cannot be connected to the slot because the signal has fewer arguments.
what's not to understand?
edit:
copy/paste error
If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.
This post has been edited 1 times, last edit by "Amleto" (May 11th 2012, 11:56am)