kitchensync

QSync::SyncChange Class Reference

List of all members.


Detailed Description

Definition at line 31 of file syncchange.h.


Public Types

enum  Type {
  UnknownChange, AddedChange, UnmodifiedChange, DeletedChange,
  ModifiedChange
}

Public Member Functions

 SyncChange ()
 SyncChange (OSyncChange *)
 ~SyncChange ()
bool isValid () const
void setUid (const QString &uid)
QString uid () const
void setHash (const QString &hash)
QString hash () const
void setData (const QString &data)
QString data () const
bool hasData () const
QString objectFormatName () const
Member member () const
void setChangeType (Type changeType)
Type changeType () const

Friends

class SyncMapping

Member Enumeration Documentation

Enumerator:
UnknownChange 
AddedChange 
UnmodifiedChange 
DeletedChange 
ModifiedChange 

Definition at line 36 of file syncchange.h.


Member Function Documentation

bool SyncChange::isValid (  )  const

Returns whether it's a valid SyncChange.

Definition at line 42 of file syncchange.cpp.

void SyncChange::setUid ( const QString &  uid  ) 

Sets the uid of this change.

Definition at line 47 of file syncchange.cpp.

QString SyncChange::uid (  )  const

Returns the uid of this change.

Definition at line 52 of file syncchange.cpp.

void SyncChange::setHash ( const QString &  hash  ) 

Sets the hash of this change.

Definition at line 57 of file syncchange.cpp.

QString SyncChange::hash (  )  const

Returns the hash of this change.

Definition at line 62 of file syncchange.cpp.

void SyncChange::setData ( const QString &  data  ) 

Sets the data provided by the plugin.

Definition at line 67 of file syncchange.cpp.

QString SyncChange::data (  )  const

Returns the data provided by the plugin.

Definition at line 72 of file syncchange.cpp.

bool SyncChange::hasData (  )  const

Returns whether the change contains data.

Definition at line 87 of file syncchange.cpp.

QString SyncChange::objectFormatName (  )  const

Returns the object format name.

Definition at line 92 of file syncchange.cpp.

Member SyncChange::member (  )  const

Returns the parent member of this change.

Definition at line 100 of file syncchange.cpp.

void SyncChange::setChangeType ( Type  changeType  ) 

Sets the change type.

Definition at line 110 of file syncchange.cpp.

SyncChange::Type SyncChange::changeType (  )  const

Returns the change type.

Definition at line 136 of file syncchange.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys