kitchensync

OpieHelper::Base Class Reference

Inheritance diagram for OpieHelper::Base:

OpieHelper::AddressBook OpieHelper::DateBook OpieHelper::Desktop OpieHelper::ToDo List of all members.

Detailed Description

Definition at line 45 of file helper.h.


Public Member Functions

 Base (CategoryEdit *edit=0, KSync::KonnectorUIDHelper *helper=0, const QString &tz=QString::null, Device *d=0)
virtual ~Base ()

Protected Member Functions

time_t toUTC (const QDateTime &dt)
QDateTime fromUTC (time_t time)
KTempFile * file ()
int newId ()
CategoryEditedit ()
KSync::KonnectorUIDHelperhelper ()
QString appendText (const QString &text, const QString &def)
QString categoriesToNumber (const QStringList &categories, const QString &app=QString::null)
QString konnectorId (const QString &appName, const QString &uid)
QString kdeId (const QString &appName, const QString &uid)
const Devicedevice ()

Protected Attributes

CategoryEditm_edit
KSync::KonnectorUIDHelperm_helper
Kontainer::ValueList m_kde2opie
QString m_tz

Member Function Documentation

KTempFile * Base::file (  )  [protected]

returns a new KTempFile

Definition at line 119 of file helper.cpp.

int Base::newId (  )  [protected]

generates a new id

Definition at line 203 of file helper.cpp.

QString Base::appendText ( const QString &  append,
const QString &  def 
) [protected]

Append Text if text is not the default.

This way we don't have empty attributes in the XML file, this makes the file smaller and transfer over slower connections faster

Definition at line 224 of file helper.cpp.


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