80 bool contains(
const QString &aProfileName)
const;
93 QQueue<SyncSession*> iItems;
const QList< SyncSession * > & getQueuedSyncSessions() const
Returns as a const reference, the list of all SyncSessions currently queued.
Definition: SyncQueue.cpp:139
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:69
void enqueue(SyncSession *aSession)
Adds a new profile to the queue. Queue is sorted automatically.
Definition: SyncQueue.cpp:30
bool isEmpty() const
Checks if the queue is empty.
Definition: SyncQueue.cpp:82
Definition: AccountsHelper.h:31
Class for queuing sync sessions.
Definition: SyncQueue.h:37
bool contains(const QString &aProfileName) const
Checks if a profile with the given name is in the queue.
Definition: SyncQueue.cpp:96
Class representing a single sync session.
Definition: SyncSession.h:43
int size() const
Current size of the sync queue.
Definition: SyncQueue.cpp:89
Definition: SyncBackupAdaptor.h:40