For signal and slot of below type
signals: void textChanged(const QString &); public slots: void setText(const QString & text)
Qt checks a normalized signature, meaning
Normalization reduces whitespace to a minimum, moves 'const' to the front where appropriate, removes 'const' from value types and replaces const references with values.