|
ButeoSynchronizationFramework
|
80 bool contains(
const QString &aProfileName)
const;
93 QQueue<SyncSession*> iItems;
int size() const
Current size of the sync queue.
Definition: SyncQueue.cpp:89
bool contains(const QString &aProfileName) const
Checks if a profile with the given name is in the queue.
Definition: SyncQueue.cpp:96
Definition: SyncBackupAdaptor.h:40
Class for queuing sync sessions.
Definition: SyncQueue.h:37
const QList< SyncSession * > & getQueuedSyncSessions() const
Returns as a const reference, the list of all SyncSessions currently queued.
Definition: SyncQueue.cpp:139
bool isEmpty() const
Checks if the queue is empty.
Definition: SyncQueue.cpp:82
SyncSession * head()
Returns the first item in the queue but does not remove it.
Definition: SyncQueue.cpp:69
Class representing a single sync session.
Definition: SyncSession.h:43
SyncSession * dequeue()
Removes the first item from the queue and returns it.
Definition: SyncQueue.cpp:38
void enqueue(SyncSession *aSession)
Adds a new profile to the queue. Queue is sorted automatically.
Definition: SyncQueue.cpp:30