Thread for client plugins.
More...
#include <ClientThread.h>
|
void | initError (const QString &aProfileName, const QString &aMessage, SyncResults::MinorCode aErrorCode) |
| Emitted when synchronization cannot be started due to an error in plugin initialization.
|
|
|
virtual void | run () |
| overriding method for QThread::run
|
|
Thread for client plugins.
◆ ClientThread()
ClientThread::ClientThread |
( |
| ) |
|
◆ ~ClientThread()
ClientThread::~ClientThread |
( |
| ) |
|
|
virtual |
◆ getPlugin()
Returns plugin that this thread is running.
- Returns
- Plugin
◆ getProfileName()
QString ClientThread::getProfileName |
( |
| ) |
const |
Returns profile that this thread is running.
- Returns
- Profile name
◆ getSyncResults()
Returns the results for this particular thread.
◆ initError
void Buteo::ClientThread::initError |
( |
const QString & |
aProfileName, |
|
|
const QString & |
aMessage, |
|
|
SyncResults::MinorCode |
aErrorCode |
|
) |
| |
|
signal |
Emitted when synchronization cannot be started due to an error in plugin initialization.
- Parameters
-
aProfileName | Name of the profile being synchronized |
aMessage | Message data related to error event |
aErrorCode | Error code |
◆ startThread()
bool ClientThread::startThread |
( |
ClientPlugin * |
aClientPlugin | ) |
|
Starts client thread.
- Parameters
-
aClientPlugin | Client plug-in to run. Plug-in is owned by the caller, and must not be deleted while the thread is running. |
- Returns
- True on success, otherwise false
◆ stopThread()
void ClientThread::stopThread |
( |
| ) |
|
The documentation for this class was generated from the following files: