kitchensync Library API Documentation

converterbase.h

00001 #ifndef VR3_CONVERTER_BASE_H 00002 #define VR3_CONVERTER_BASE_H 00003 00004 #include <sys/types.h> 00005 #include <time.h> 00006 00007 #include <qdatetime.h> 00008 #include <qstring.h> 00009 00010 #include <kontainer.h> 00011 #include <syncer.h> 00012 00013 #include <idhelper.h> // the Opie and PAlm uids are not random enough the id helper helps to map them to strong UIDs on the KDE side 00014 00015 class KTempFile; 00016 namespace Vr3 { 00022 class ConverterBase { 00023 public: 00028 ConverterBase( KSync::KonnectorUIDHelper* helper, 00029 const QString& timeZone ); 00030 ~ConverterBase(); 00031 00032 protected: 00033 time_t toUTC( const QDateTime& time ); 00034 QDateTime fromUTC( time_t ); 00035 00037 KTempFile* file(); 00038 00040 QString timeZone()const; 00041 00043 QString konnectorId( const QString& appName, const QString& uid ); 00044 00046 QString kdeId( const QString& appName, const QString& uid ); 00047 00048 private: 00049 KSync::KonnectorUIDHelper* m_helper; 00050 QString m_tz; 00051 00052 00053 }; 00054 } 00055 00056 00057 #endif
KDE Logo
This file is part of the documentation for kitchensync Library Version 3.3.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Thu Oct 21 19:46:32 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003