Hi
I read somewhere that the keywords signal and slot(when used in class definition)will be translated to pure c++ by preprocessor.Is it a Qt defined(modified)C++ preprocessor?
thanks
Printable View
Hi
I read somewhere that the keywords signal and slot(when used in class definition)will be translated to pure c++ by preprocessor.Is it a Qt defined(modified)C++ preprocessor?
thanks
The words signal and slot are first processed by the standard C++ preprocessor
Code:
# define slots # define signals protected
(from src/corelib/kernel/qobjectdefs.h)
and also by moc, which will generate moc_*.cpp-files with the added functionality