4#ifndef SHELLQUOTE_SHARED_H
5#define SHELLQUOTE_SHARED_H
8#include <QRegularExpression>
14 for (
int x =
arg.size() - 1;
x >= 0; --
x) {
16 if ((
c <
sizeof(iqm) * 8) && (iqm[
c / 8] & (1 << (
c & 7))))
25 static const uchar iqm[] = {
26 0xff, 0xff, 0xff, 0xff, 0xdf, 0x07, 0x00, 0xd8,
27 0x00, 0x00, 0x00, 0x38, 0x01, 0x00, 0x00, 0x78
48 static const uchar iqm[] = {
49 0xff, 0xff, 0xff, 0xff, 0x45, 0x13, 0x00, 0x78,
50 0x00, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00, 0x10
static QChar separator()
Returns the native directory separator: "/" under Unix and "\\" under Windows.
\inmodule QtCore \reentrant
\macro QT_RESTRICTED_CAST_FROM_ASCII
GLint GLint GLint GLint GLint x
[0]
QLatin1StringView QLatin1String
static QString shellQuoteWin(const QString &arg)
static QString shellQuoteUnix(const QString &arg)
static QString shellQuote(const QString &arg)
static bool hasSpecialChars(const QString &arg, const uchar(&iqm)[16])
\inmodule QtCore \reentrant