how2process - SIGNAL/SLOT
シグナルは、例えばボタン(QPushButton)が押された時にclickedという関数が呼ばれます。
これは、このページを参考にしました。

QPushButton * button = new QPushButton(tr("action"), this);
connect(button, SIGNAL(pressed()), this, SLOT(close()));
[[シグナルとスロットの仕組み>]]から

シグナルをシグナルに接続できる(シグナルフォーワーディング)

Q_OBJECT
が必ず必要
<-ビルド-qmakeの実行

connect(sender,signal,receiver,slot)
【example】
findButton = new QPushButton(tr("&Find"), this);
connect(findButton, &QAbstractButton::clicked, this, &Window::find);