diff options
Diffstat (limited to 'src/Util.hpp')
| -rw-r--r-- | src/Util.hpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/Util.hpp b/src/Util.hpp index b0d1f78..5826b1b 100644 --- a/src/Util.hpp +++ b/src/Util.hpp @@ -1,8 +1,12 @@ #pragma once #include <QString> +#include <QMap> namespace Util { - QString& trimQuotes(QString&& string, bool& trimmed); - QString& trimQuotes(const QString& string, bool& trimmed); + static const QMap<QChar, QChar> unescapeChars { + {'n', '\n'}, + }; + + QString trimQuotes(QString string, bool& trimmed); } |
