: BasicHandler(parent)
{
TabCompletionSettings s;
- s.notify("CompletionSuffix", this, SLOT(completionSuffixChanged(QVariant)));
+ s.notify("CompletionSuffix", this, &ClientUserInputHandler::completionSuffixChanged);
completionSuffixChanged(s.completionSuffix());
}
{
QString suffix = v.toString();
QString letter = "A-Za-z";
- QString special = "\x5b-\x60\x7b-\x7d";
+ QString special = "\x5b-\x60\x7b-\x7d"; // NOLINT(modernize-raw-string-literal)
_nickRx = QRegExp(QString("^([%1%2][%1%2\\d-]*)%3").arg(letter, special, suffix).trimmed());
}
void ClientUserInputHandler::handleExec(const BufferInfo &bufferInfo, const QString &execString)
{
- ExecWrapper *exec = new ExecWrapper(this); // gets suicidal when it's done
+ auto *exec = new ExecWrapper(this); // gets suicidal when it's done
exec->start(bufferInfo, execString);
}