added some special ruling to const QString& handling