Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

odatebookaccessbackend_xml.cpp File Reference

#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <unistd.h>
#include <qasciidict.h>
#include <qfile.h>
#include <qtopia/global.h>
#include <qtopia/stringutil.h>
#include <qtopia/timeconversion.h>
#include "opimnotifymanager.h"
#include "orecur.h"
#include "otimezone.h"
#include "odatebookaccessbackend_xml.h"

Include dependency graph for odatebookaccessbackend_xml.cpp:

Go to the source code of this file.

Enumerations

enum  Attribute {
  FDescription = 0, FLocation, FCategories, FUid,
  FType, FAlarm, FSound, FRType,
  FRWeekdays, FRPosition, FRFreq, FRHasEndDate,
  FREndDate, FRStart, FREnd, FNote,
  FCreated, FTimeZone, FRecParent, FRecChildren,
  FExceptions
}

Functions

char * strstrlen (const char *haystack, int hLen, const char *needle, int nLen)
ORecurrecur ()
void save (const OEvent &ev, QString &buf)
bool forAll (const QMap< int, OEvent > &list, QFile &file)

Variables

time_t start
time_t end
time_t created
time_t rp_end
ORecurrec
int alarmTime
int snd


Enumeration Type Documentation

enum Attribute
 

Enumeration values:
FDescription 
FLocation 
FCategories 
FUid 
FType 
FAlarm 
FSound 
FRType 
FRWeekdays 
FRPosition 
FRFreq 
FRHasEndDate 
FREndDate 
FRStart 
FREnd 
FNote 
FCreated 
FTimeZone 
FRecParent 
FRecChildren 
FExceptions 

Definition at line 63 of file odatebookaccessbackend_xml.cpp.


Function Documentation

bool forAll const QMap< int, OEvent > &  list,
QFile file
[inline, static]
 

Definition at line 150 of file odatebookaccessbackend_xml.cpp.

References QMap< Key, T >::begin(), buf, QMap< Key, T >::end(), QCString::length(), save(), str, QString::utf8(), and QFile::writeBlock().

Referenced by ODateBookAccessBackend_XML::save().

ORecur* recur  )  [static]
 

Definition at line 55 of file odatebookaccessbackend_xml.cpp.

void save const OEvent ev,
QString buf
[inline, static]
 

Definition at line 88 of file odatebookaccessbackend_xml.cpp.

References OTimeZone::current(), OPimNotify::dateTime(), Qtopia::escapeString(), OTimeZone::fromUTCDateTime(), i, Qtopia::Record::idsToString(), OPimAlarm::Loud, QString::number(), qWarning(), OPimAlarm::sound(), OTimeZone::toDateTime(), and OTimeZone::utc().

char* strstrlen const char *  haystack,
int  hLen,
const char *  needle,
int  nLen
[static]
 

Definition at line 27 of file odatebookaccessbackend_xml.cpp.


Variable Documentation

int alarmTime [static]
 

Definition at line 61 of file odatebookaccessbackend_xml.cpp.

time_t created [static]
 

Definition at line 53 of file odatebookaccessbackend_xml.cpp.

time_t end [static]
 

Definition at line 53 of file odatebookaccessbackend_xml.cpp.

ORecur* rec [static]
 

Definition at line 54 of file odatebookaccessbackend_xml.cpp.

time_t rp_end [static]
 

Definition at line 53 of file odatebookaccessbackend_xml.cpp.

int snd [static]
 

Definition at line 62 of file odatebookaccessbackend_xml.cpp.

time_t start [static]
 

Definition at line 53 of file odatebookaccessbackend_xml.cpp.


Generated on Sat Nov 5 16:36:56 2005 for OPIE by  doxygen 1.4.2