![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include "hdc.h"#include <QtCore/qbytearray.h>#include <QtCore/qstring.h>#include <QtCore/private/qexpected_p.h>#include <optional>Go to the source code of this file.
Enumerations | |
| enum class | BundleState { Installed , NotInstalled , Unknown } |
| enum class | DeviceFileState { Present , Absent , Unknown } |
| enum class | ProcessState { Running , NotRunning , Unknown } |
Functions | |
| void | forceStopBundle (const Hdc &hdc, const QString &bundleName) |
| ProcessState | queryProcessState (const Hdc &hdc, const QString &bundleName) |
| QString | readDeviceFile (const Hdc &hdc, const QString &devicePath) |
| 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) |
|
strong |
| Enumerator | |
|---|---|
| Installed | |
| NotInstalled | |
| Unknown | |
Definition at line 17 of file shellhelpers.h.
|
strong |
| Enumerator | |
|---|---|
| Present | |
| Absent | |
| Unknown | |
Definition at line 18 of file shellhelpers.h.
|
strong |
| Enumerator | |
|---|---|
| Running | |
| NotRunning | |
| Unknown | |
Definition at line 19 of file shellhelpers.h.
| std::optional< QString > answeredShell | ( | const Hdc & | hdc, |
| const QStringList & | command ) |
Definition at line 72 of file shellhelpers.cpp.
| q23::expected< QByteArray, QString > copyDeviceFile | ( | const Hdc & | hdc, |
| const QString & | devicePath, | ||
| const QString & | localPath ) |
Definition at line 37 of file shellhelpers.cpp.
Definition at line 15 of file shellhelpers.cpp.
| BundleState queryBundleState | ( | const Hdc & | hdc, |
| const QString & | bundleName ) |
Definition at line 83 of file shellhelpers.cpp.
References Installed, NotInstalled, and Unknown.
| DeviceFileState queryDeviceFileState | ( | const Hdc & | hdc, |
| const QString & | devicePath ) |
Definition at line 58 of file shellhelpers.cpp.
| ProcessState queryProcessState | ( | const Hdc & | hdc, |
| const QString & | bundleName ) |
Definition at line 20 of file shellhelpers.cpp.
References NotRunning, Running, and Unknown.
Definition at line 94 of file shellhelpers.cpp.