Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
shellquote_shared.h File Reference
#include <QDir>
#include <QRegularExpression>
#include <QString>
+ Include dependency graph for shellquote_shared.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

static bool hasSpecialChars (const QString &arg, const uchar(&iqm)[16])
 
static QString shellQuoteUnix (const QString &arg)
 
static QString shellQuoteWin (const QString &arg)
 
static QString shellQuote (const QString &arg)
 

Function Documentation

◆ hasSpecialChars()

static bool hasSpecialChars ( const QString arg,
const uchar(&)  iqm[16] 
)
inlinestatic

Definition at line 12 of file shellquote_shared.h.

References arg.

Referenced by shellQuoteUnix(), and shellQuoteWin().

+ Here is the caller graph for this function:

◆ shellQuote()

static QString shellQuote ( const QString arg)
static

Definition at line 74 of file shellquote_shared.h.

References arg, QDir::separator(), shellQuoteUnix(), and shellQuoteWin().

Referenced by buildAndroidProject(), createRcc(), fileArchitecture(), getQtLibsFromElf(), isRunning(), parseTestArgs(), runAdb(), scanImports(), signAAB(), signPackage(), uninstallApk(), and waitToFinish().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ shellQuoteUnix()

static QString shellQuoteUnix ( const QString arg)
static

Definition at line 22 of file shellquote_shared.h.

References arg, hasSpecialChars(), and ret.

Referenced by shellQuote().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ shellQuoteWin()

static QString shellQuoteWin ( const QString arg)
static

Definition at line 42 of file shellquote_shared.h.

References arg, hasSpecialChars(), i, and ret.

Referenced by shellQuote().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: