kitchensync
QSync::Result Class Reference
List of all members.Detailed Description
Definition at line 31 of file result.h.
Public Types | |
| enum | Type { NoError, GenericError, IOError, NotSupported, Timeout, Disconnected, FileNotFound, Exists, Convert, Misconfiguration, Initialization, Parameter, Expected, NoConnection, Temporary, Locked, PluginNotFound } |
Public Member Functions | |
| Result () | |
| Result (Type type) | |
| Result (OSyncError **, bool deleteError=true) | |
| ~Result () | |
| void | setName (const QString &name) |
| QString | name () const |
| void | setMessage (const QString &message) |
| QString | message () const |
| void | setType (Type type) |
| Type | type () const |
| operator bool () const | |
| bool | isError () const |
Member Enumeration Documentation
| enum QSync::Result::Type |
Constructor & Destructor Documentation
| Result::Result | ( | ) |
| Result::Result | ( | Type | type | ) |
| Result::Result | ( | OSyncError ** | , | |
| bool | deleteError = true | |||
| ) |
Construct Result from OpenSync error object.
Deletes the OpenSync error object.
Definition at line 38 of file result.cpp.
| Result::~Result | ( | ) |
Member Function Documentation
| void Result::setName | ( | const QString & | name | ) |
| QString Result::name | ( | ) | const |
| void Result::setMessage | ( | const QString & | message | ) |
| QString Result::message | ( | ) | const |
| void Result::setType | ( | Type | type | ) |
| Result::Type Result::type | ( | ) | const |
| Result::operator bool | ( | ) | const |
| bool Result::isError | ( | ) | const |
Return true, if this Result is an error, return false otherwise.
Definition at line 140 of file result.cpp.
The documentation for this class was generated from the following files:

