Use 'const QString&' for parameters.