Repository
Description
The Repository object provides access to file resources which can be used e.g. for UpdateManager instances.
- › Inherits:
- › Inherited by:
Overview
Properties
Methods
Signals
Enumerations
Properties
error
This property holds the most recently occurred error or Repository.NoError if no error occurred. If the same error occurs multiple times this property does not change. Use the errorOccurred() signal to detect multiple occurrences of the same error.
- › Type:
- › Signal:
errorChanged()
- › Attributes:
Readonly
errorString
This property holds the current human readable error string corresponding to the current value in the error property. It may include additional information such as failure reasons or locations.
- › Type:
String
- › Signal:
errorStringChanged()
- › Attributes:
Readonly
Signals
errorOccurred()
This signal is emitted whenever an error has occurred, regardless of whether the error property has changed or not. In contrast to the change notification signal of the error property this signal is also emitted several times if a certain error occurs several times in succession.
Enumerations
Error
This enumeration describes all errors which can occur in Repository objects. The most recently occurred error is stored in the error property.
Name |
Value |
Description |
|---|---|---|
|
|
No error occurred or was detected. |
|
|
Repository has not been configured properly, e.g. missing or invalid settings. |
|
|
The underlying transport reported an error, e.g. offline or general communication failure. |
|
|
A timeout occurred while fetching data from the repository. |
|
|
Repository is unavailable, e.g. offline or storage drive not plugged in. |