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