PDA

View Full Version : signals and return type



babu198649
11th December 2008, 05:40
hi
Can signals have return type or should they always be void.

munna
11th December 2008, 06:33
From the Qt docs



Signals are automatically generated by the moc and must not be implemented in the .cpp file. They can never have return types (i.e. use void).