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
|
Result types.
|
Constructor & Destructor Documentation
|
Constructs a NoError result.
Definition at line 28 of file result.cpp. |
|
Constructs a result of the given type.
Definition at line 33 of file result.cpp. |
|
Construct Result from OpenSync error object. Deletes the OpenSync error object. Definition at line 38 of file result.cpp. |
|
Destroys the result.
Definition at line 106 of file result.cpp. |
Member Function Documentation
|
Return true, if this Result is an error, return false otherwise.
Definition at line 140 of file result.cpp. |
|
Returns the message text of the result.
Definition at line 125 of file result.cpp. |
|
Returns the name of the result.
Definition at line 115 of file result.cpp. |
|
Reimplemented boolean operator.
Definition at line 145 of file result.cpp. |
|
Sets the message text of the result.
Definition at line 120 of file result.cpp. |
|
Sets the name of the result.
Definition at line 110 of file result.cpp. |
|
Sets the type of the result.
Definition at line 130 of file result.cpp. |
|
Returns the type of the result.
Definition at line 135 of file result.cpp. |
The documentation for this class was generated from the following files: