kitchensync
QSync::Group Class Reference
List of all members.Detailed Description
Definition at line 53 of file group.h.
Public Types | |
| enum | LockType { LockOk, Locked, LockStale } |
Public Member Functions | |
| Group () | |
| ~Group () | |
| bool | isValid () const |
| Iterator | begin () |
| Iterator | end () |
| void | setName (const QString &name) |
| QString | name () const |
| void | setLastSynchronization (const QDateTime &dateTime) |
| QDateTime | lastSynchronization () const |
| LockType | lock () |
| void | unlock (bool removeFile=true) |
| Member | addMember () |
| void | removeMember (const Member &member) |
| int | memberCount () const |
| Member | memberAt (int pos) const |
| int | filterCount () const |
| Filter | filterAt (int pos) |
| void | setObjectTypeEnabled (const QString &objectType, bool enabled) |
| bool | isObjectTypeEnabled (const QString &objectType) const |
| Result | save () |
| GroupConfig | config () const |
| bool | operator== (const Group &group) const |
Friends | |
| class | Engine |
| class | Environment |
Classes | |
| class | Iterator |
Member Function Documentation
|
|
Adds a new member to the group.
|
|
|
Returns an iterator pointing to the first item in the member list. This iterator equals end() if the member list is empty. |
|
|
Returns the config object of this group. Note: This method is only available for OpenSync 0.19 and 0.20. |
|
|
Returns an iterator pointing past the last item in the member list. This iterator equals begin() if the member list is empty. |
|
|
Returns the filter at position.
|
|
|
Returns the number of filters.
|
|
|
Returns whether the object type with given name is enabled for synchronisation for this group.
|
|
|
Returns whether the object is a valid group.
|
|
|
Returns the time of the last successfull synchronization.
|
|
|
Locks the group.
|
|
|
Returns the member at position.
|
|
|
Returns the number of members.
|
|
|
Returns the name of the group.
|
|
|
Removes a member from the group.
|
|
|
Saves the configuration to hard disc.
|
|
|
Sets the time of the last successfull synchronization.
|
|
|
Sets the name of the group.
|
|
||||||||||||
|
Set, if the object type with given name is enabled for synchronisation for this group.
|
|
|
Unlocks the group.
|
The documentation for this class was generated from the following files:

