kitchensync Library API Documentation

KSync::OpieDesktopSyncEntry Class Reference

OpieDesktopSyncEntry Opie and Qtopia are featuring a Documents Tab All Documents are available with one click Now we've to show these files in KitchenSyncApp This is done through the Syncee transportation and syncing layer. More...

#include <opiedesktopsyncee.h>

Inheritance diagram for KSync::OpieDesktopSyncEntry:

Inheritance graph
[legend]
Collaboration diagram for KSync::OpieDesktopSyncEntry:

Collaboration graph
[legend]
List of all members.

Public Types

typedef QPtrList< OpieDesktopSyncEntryPtrList

Public Member Functions

 OpieDesktopSyncEntry (const QStringList &category, const QString &file, const QString &name, const QString &type, const QString &size, Syncee *)
 OpieDesktopSyncEntry (const OpieDesktopSyncEntry &)
QString name ()
QString file () const
QString fileType () const
QString size () const
QStringList category () const
QString type () const
QString id ()
QString timestamp ()
bool equals (SyncEntry *)
SyncEntryclone ()

Detailed Description

OpieDesktopSyncEntry Opie and Qtopia are featuring a Documents Tab All Documents are available with one click Now we've to show these files in KitchenSyncApp This is done through the Syncee transportation and syncing layer.

Definition at line 41 of file opiedesktopsyncee.h.


Member Function Documentation

QString OpieDesktopSyncEntry::name  )  [virtual]
 

Return a string describing this entry.

This is presented to the user as identifier for the entry, when user interaction is required.

Implements KSync::SyncEntry.

Definition at line 52 of file opiedesktopsyncee.cpp.

QString OpieDesktopSyncEntry::type  )  const [virtual]
 

Return a string describing the type of the entry.

Implements KSync::SyncEntry.

Definition at line 82 of file opiedesktopsyncee.cpp.

QString OpieDesktopSyncEntry::id  )  [virtual]
 

Return a unique id.

This is used to uniquely identify the entry. Two entries having the same id are considered to be two variants of the same entry. No two entries of the same KSyncee data set must have the same id.

Implements KSync::SyncEntry.

Definition at line 77 of file opiedesktopsyncee.cpp.

QString OpieDesktopSyncEntry::timestamp  )  [virtual]
 

Return a time stamp representing the time of the last change.

This is only used to compare, if an entry has changed or not. It is not used to define an order of changes. If an entry has been copied from one KSyncee data set to another KSyncee data set, the timestamp has to be the same on both entries. If the user has changed the entry in one data set the timestamp has to be different.

Return QString::null, if there is no timestamp available. This means that the user has to manually select which entry is the new one.

Implements KSync::SyncEntry.

Definition at line 87 of file opiedesktopsyncee.cpp.

bool OpieDesktopSyncEntry::equals SyncEntry  )  [virtual]
 

Return, if the two entries are equal.

Two entries are considered to be equal, if they contain exactly the same information, including the same id and timestamp.

Implements KSync::SyncEntry.

Definition at line 92 of file opiedesktopsyncee.cpp.

References mCategory, mFile, mName, mSize, and mType.

SyncEntry * OpieDesktopSyncEntry::clone  )  [virtual]
 

Creates an exact copy of the this SyncEntry deleting the original is save.

Implements KSync::SyncEntry.

Definition at line 108 of file opiedesktopsyncee.cpp.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kitchensync Library Version 3.3.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Mar 23 22:42:07 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003