QT connect函数处理信号的函数为什么不要加括号

img


那个Qpushbuuton::pressed没有加括号阿

static QMetaObject::Connection connect(const QObject *sender, const QMetaMethod &signal,
                    const QObject *receiver, const QMetaMethod &method,
                    Qt::ConnectionType type = Qt::AutoConnection);

我觉得看这个声明 第二个参数 是&地址,如果加括号 往往表示返回值void 类型不匹配 ╮(╯▽╰)╭