BookmarkSyncee Class Reference
This class provides an implementation of the interface for KSync. More...
#include <bookmarksyncee.h>
Inheritance diagram for BookmarkSyncee:

Public Member Functions | |
BookmarkSyncEntry * | firstEntry () |
Return the first KSyncEntry object of the data set. | |
BookmarkSyncEntry * | nextEntry () |
Return the next KSyncEntry object of the data set. | |
void | addEntry (KSyncEntry *) |
Add a KSyncEntry object to this data set. | |
void | removeEntry (KSyncEntry *) |
Remove a KSyncEntry. | |
bool | read () |
Read the data set from disk from the file with the name filename(). | |
bool | write () |
Write the data set to disk to the file with the name filename(). |
Detailed Description
This class provides an implementation of the interface for KSync.It provides syncing of bookmark files as used by Konqueror.
Definition at line 34 of file bookmarksyncee.h.
Member Function Documentation
|
Return the first KSyncEntry object of the data set. This function together with nextEntry() is used to iterate through all entries of a KSyncee data set. Implements KSyncee. Definition at line 99 of file bookmarksyncee.cpp. References QValueList< QDomElement >::begin(). |
|
Return the next KSyncEntry object of the data set. This function together with firstEntry() is used to iterate through all entries of a KSyncee data set. Implements KSyncee. Definition at line 105 of file bookmarksyncee.cpp. |
|
Add a KSyncEntry object to this data set. Ownership of the object remains with the caller. Implements KSyncee. Definition at line 125 of file bookmarksyncee.cpp. References QValueList< QDomElement >::append(). |
|
Remove a KSyncEntry. The entry is removed from the data set, but the object is not deleted. Implements KSyncee. Definition at line 139 of file bookmarksyncee.cpp. |
|
Read the data set from disk from the file with the name filename(). This function has to be reimplemented by concrete subclasses to provide the actual reading from disk.
Implements KSyncee. Definition at line 62 of file bookmarksyncee.cpp. References QValueList< QDomElement >::begin(), QValueList< QDomElement >::clear(), and KSyncee::filename(). |
|
Write the data set to disk to the file with the name filename(). This function has to be reimplemented by concrete subclasses to provide the actual writing to disk.
Implements KSyncee. Definition at line 91 of file bookmarksyncee.cpp. |
The documentation for this class was generated from the following files: