From 2edcec94e9e3f55313d4aa6d784e52ce37f1ba0e Mon Sep 17 00:00:00 2001 From: Markus Mittendrein Date: Mon, 12 Oct 2015 15:45:36 +0200 Subject: Add escaping in ConfigBase --- src/Util.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Util.hpp') diff --git a/src/Util.hpp b/src/Util.hpp index 5826b1b..ffd2fa3 100644 --- a/src/Util.hpp +++ b/src/Util.hpp @@ -9,4 +9,6 @@ namespace Util { }; QString trimQuotes(QString string, bool& trimmed); + QString unescape(const QString& string, const QChar escapeChar = '\\'); + QString escape(const QString& string, const QChar escapeChar = '\\', const QString& escapeChars = ""); } -- cgit v1.2.3-54-g00ecf