What i really want to know is, is it possible to actually "define" signal and have an implementation for it in *.cpp file rather then just having a declaration in .h file, to me it seems like as if it is a completely impossible to have implementation for signal functions
like for example
Qt Code:
  1. connect( someObject, SIGNAL( mySignal() ), otherObject , SLOT (otherSlot()));
To copy to clipboard, switch view to plain text mode 

now, if implementation of mySignal is as follow :
Qt Code:
  1. mySignal()
  2. {
  3. qDebug()<<" hello ";
  4. }
To copy to clipboard, switch view to plain text mode 

i want to ask, if i emit mySignal(), will it's own body will be executed before the slot function is executed or im getting it completely wrong and signal serve no purpose other than just as an signature that can carry around values and have no implementation of its own.