Qtopia library API Documentation

Qtopia::Record Class Reference

The base class of all Records. More...

#include <palmtoprecord.h>

Inheritance diagram for Qtopia::Record:

Inheritance graph
[legend]
Collaboration diagram for Qtopia::Record:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Record (const Record &c)
Recordoperator= (const Record &c)
virtual bool match (const QRegExp &) const
void setCategories (const QArray< int > &v)
void setCategories (int single)
const QArray< int > & categories () const
void reassignCategoryId (int oldId, int newId)
int uid () const
virtual void setUid (int i)
bool isValidUid () const
void assignUid ()
virtual QString customField (const QString &) const
virtual void setCustomField (const QString &, const QString &)
virtual void removeCustomField (const QString &)
virtual bool operator== (const Record &r) const
virtual bool operator!= (const Record &r) const

Static Public Member Functions

QString idsToString (const QArray< int > &ids)
QArray< int > idsFromString (const QString &str)
void dump (const QMap< int, QString > &map)

Protected Member Functions

virtual UidGen & uidGen ()=0
virtual QString customToXml () const

Detailed Description

The base class of all Records.

The base class for Records in Qtopia

See also:
Task

Event

Contact

Definition at line 50 of file palmtoprecord.h.


Member Function Documentation

QString Qtopia::Record::customField const QString key  )  const [virtual]
 

Returns the string stored for the custom field key. Returns a null string if the field does not exist.

Definition at line 89 of file palmtoprecord.cpp.

References QMap< QString, QString >::contains().

void Qtopia::Record::setCustomField const QString key,
const QString value
[virtual]
 

Sets the string stored for the custom field key to value.

Definition at line 100 of file palmtoprecord.cpp.

References QMap< QString, QString >::contains(), QMap< QString, QString >::insert(), and QMap< QString, QString >::replace().

void Qtopia::Record::removeCustomField const QString key  )  [virtual]
 

Removes the custom field key.

Definition at line 114 of file palmtoprecord.cpp.

References QMap< QString, QString >::remove().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for OPIE Version 1.5.5.
Documentation copyright © 1997-2003 the KDE developers. 2003 OPIE developers
Generated on Tue Feb 10 20:24:32 2004 by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2001