using const QString & as argument to pass message.