first development version of 1.4.x
This commit is contained in:
parent
1ff4f353e3
commit
24b1f32bbe
63 changed files with 4792 additions and 4350 deletions
|
@ -18,6 +18,7 @@
|
|||
|
||||
#include "StringParser.h"
|
||||
#include "config.h"
|
||||
#include <QTextDocument>
|
||||
#include <QApplication>
|
||||
#include <QTextCodec>
|
||||
#include <QByteArray>
|
||||
|
@ -60,3 +61,12 @@ QString StringParser::convertBuildedString(const QString &buildedStr)
|
|||
outputStr.replace("$SEPARATOR", QDir::separator());
|
||||
return outputStr;
|
||||
}
|
||||
|
||||
QString StringParser::escapeString(const QString &toEscape)
|
||||
{
|
||||
#if QT_VERSION >= 0x050000
|
||||
return toEscape.toHtmlEscaped();
|
||||
#else
|
||||
return Qt::escape(toEscape);
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue