|
libschauer
0.0.1
Qt based library to access the Docker HTTP API.
|
List model providing version information. More...
#include <Schauer/VersionListModel>

Public Types | |
| enum | Roles : int { NameRole = Qt::UserRole + 1, VersionRole, ApiVersionRole, ArchRole, BuildTimeRole, ExperimentalRole, GitCommitRole, GoVersionRole, KernelVersionRole, MinAPIVersionRole, OsRole } |
| Roles used to access the model data. More... | |
Public Types inherited from Schauer::AbstractBaseModel | |
| enum | LoadMode : int { LoadAsync, LoadSync } |
| Load mode for model. More... | |
Public Member Functions | |
| VersionListModel (QObject *parent=nullptr) | |
| Constructs a new VersionListModel with the given parent. More... | |
| ~VersionListModel () override | |
| Destroys the VersionListModel. More... | |
Public Member Functions inherited from Schauer::AbstractVersionModel | |
| AbstractVersionModel (QObject *parent=nullptr) | |
| Constructs a new AbstractVersionModel with the given parent. More... | |
| ~AbstractVersionModel () override | |
| Destroys the AbstractVersionModel object. More... | |
| QString | apiVersion () const |
| Returns the API version of the Docker daemon. More... | |
| QString | arch () const |
| Returns the architecture the Docker daemon runs on. More... | |
| QDateTime | buildTime () const |
| Returns the build time of the Docker daemon. More... | |
| QString | gitCommit () const |
| Returns the Git commit of the Docker daemon. More... | |
| QString | goVersion () const |
| Returns the Go version the Docker daemon has been built with. More... | |
| QString | kernelVersion () const |
| Returns the kernel version of the host system the Docker daemon runs on. More... | |
| QString | minApiVersion () const |
| Returns the minimum API version supported by this Docker daemon. More... | |
| QString | os () const |
| Returns the host operating systemd the Docker daemon runs on. More... | |
| QString | platformName () const |
| Returns the name of the platform the Docker daemon runs on. More... | |
| QString | version () const |
| Returns the version of the Docker daemon. More... | |
Public Member Functions inherited from Schauer::AbstractBaseModel | |
| AbstractBaseModel (QObject *parent=nullptr) | |
| Constructs a new AbstractBaseModel class with the given parent. More... | |
| ~AbstractBaseModel () override | |
| Destroys the AbstractBaseModel object. More... | |
| AbstractConfiguration * | configuration () const |
| Getter function for the configuraion property. More... | |
| int | error () const |
| Returns the error code, if there has been an error. More... | |
| QString | errorString () const |
| Returns the human-readable error message. More... | |
| bool | isLoading () const |
Returns true while the model is loading, otherwise returns false. More... | |
| void | setConfiguration (AbstractConfiguration *configuration) |
| Setter function for the configuraion property. More... | |
Additional Inherited Members | |
Properties inherited from Schauer::AbstractVersionModel | |
| QString | apiVersion |
| API version of the Docker daemon. More... | |
| QString | arch |
| Architecture the Docker daemon runs on. More... | |
| QDateTime | buildTime |
| Build time of the Docker daemon. More... | |
| QString | gitCommit |
| Git commit hash of the Docker daemon. More... | |
| QString | goVersion |
| Go version the Docker daemon has been built with. More... | |
| QString | kernelVersion |
| Kernel version of the host system the Docker daemon runs on. More... | |
| QString | minApiVersion |
| The minimum API version supported by this Docker daemon. More... | |
| QString | os |
| The host operating system the Docker daemon runs on. More... | |
| QString | platformName |
| Name of the platform the Docker daemon runs on. More... | |
| QString | version |
| Version of the Docker daemon. More... | |
Properties inherited from Schauer::AbstractBaseModel | |
| Schauer::AbstractConfiguration | configuration |
| Pointer to an object providing configuration data. More... | |
| int | error |
| Error code. More... | |
| QString | errorString |
| Human-readable error message. More... | |
| bool | isLoading |
| Indicates loading state. More... | |
Public Slots inherited from Schauer::AbstractBaseModel | |
| bool | load (Schauer::AbstractBaseModel::LoadMode mode=LoadAsync) |
| Loads the model data. More... | |
Signals inherited from Schauer::AbstractBaseModel | |
| void | configurationChanged (Schauer::AbstractConfiguration *configuration) |
| Notifier signal for the configuration property. More... | |
| void | errorChanged (int error) |
| Notifier signal for the error property. More... | |
| void | isLoadingChanged (bool isLoading) |
| Notifier signal for the isLoading property. More... | |
| void | loaded () |
| Emitted to indicate model data loading has been finished. More... | |
Protected Member Functions inherited from Schauer::AbstractVersionModel | |
| void | clear () override |
| Clears the model data. More... | |
List model providing version information.
| enum Schauer::VersionListModel::Roles : int |
Roles used to access the model data.
Mainly used to access the model data from QML.
|
explicit |
Constructs a new VersionListModel with the given parent.
|
overridedefault |
Destroys the VersionListModel.
1.8.14