Qt::AutoConnection 0 (Default) If the receiver lives in the thread that emits the signal, Qt::DirectConnection is used. Otherwise, Qt::QueuedConnection is used. The connection type is determined when the signal is emitted. Qt::DirectConnection 1 The
引用自:http://www.ibm.com/developerworks/cn/linux/guitoolkit/qt/signal-slot/ 的一篇经典文章,是关于Qt的信号和槽的分析的.看年份是2001年,有年头了. 其中: 7.信号与槽不能有缺省参数. 既然signal->slot绑定是发生在运行时刻,那么,从概念上讲使用缺省参数是困难的.下面的用法是不合理的: class SomeClass : public QObject { Q_OBJECT public slots: void