Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
shellhelpers.cpp File Reference

(649afe5b3398634bb9e464891ffa8f01c3bd05ff)

#include "shellhelpers.h"
#include <QtCore/qfile.h>
#include <QtCore/qregularexpression.h>
#include <cstdio>
Include dependency graph for shellhelpers.cpp:

Go to the source code of this file.

Functions

void forceStopBundle (const Hdc &hdc, const QString &bundleName)
ProcessState queryProcessState (const Hdc &hdc, const QString &bundleName)
q23::expected< QByteArray, QString > copyDeviceFile (const Hdc &hdc, const QString &devicePath, const QString &localPath)
DeviceFileState queryDeviceFileState (const Hdc &hdc, const QString &devicePath)
std::optional< QString > answeredShell (const Hdc &hdc, const QStringList &command)
BundleState queryBundleState (const Hdc &hdc, const QString &bundleName)
QString readDeviceFile (const Hdc &hdc, const QString &devicePath)

Function Documentation

◆ answeredShell()

std::optional< QString > answeredShell ( const Hdc & hdc,
const QStringList & command )

Definition at line 72 of file shellhelpers.cpp.

◆ copyDeviceFile()

q23::expected< QByteArray, QString > copyDeviceFile ( const Hdc & hdc,
const QString & devicePath,
const QString & localPath )

Definition at line 37 of file shellhelpers.cpp.

◆ forceStopBundle()

void forceStopBundle ( const Hdc & hdc,
const QString & bundleName )

Definition at line 15 of file shellhelpers.cpp.

◆ queryBundleState()

BundleState queryBundleState ( const Hdc & hdc,
const QString & bundleName )

Definition at line 83 of file shellhelpers.cpp.

References Installed, NotInstalled, and Unknown.

◆ queryDeviceFileState()

DeviceFileState queryDeviceFileState ( const Hdc & hdc,
const QString & devicePath )

Definition at line 58 of file shellhelpers.cpp.

References Absent, Present, and Unknown.

◆ queryProcessState()

ProcessState queryProcessState ( const Hdc & hdc,
const QString & bundleName )

Definition at line 20 of file shellhelpers.cpp.

References NotRunning, Running, and Unknown.

◆ readDeviceFile()

QString readDeviceFile ( const Hdc & hdc,
const QString & devicePath )

Definition at line 94 of file shellhelpers.cpp.