1.首先看一下信号和槽在使用上的几种方式
One signal can be connected to many slots
Many signals can be connected to the same slot
A signal can be connected to another signal
Connections can be removed
2.利用moc 的预处理去实现信号,槽,反射机制 , moc会生成获得元数据函数,Q_OBJECT,和所有signals的实现。moc处理后的代码可以用任何C++编译器进行编译
</