libopie PIM API Documentation

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:

Include dependency graph

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

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

Definition at line 27 of file odatebookaccessbackend_xml.cpp.

ORecur* recur  )  [static]
 

Definition at line 55 of file odatebookaccessbackend_xml.cpp.

References rec.

Referenced by OEvent::fromMap().

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

Definition at line 88 of file odatebookaccessbackend_xml.cpp.

References OPimNotifyManager::alarms(), Qtopia::Record::categories(), OEvent::children(), QArray::count(), QArray< int >::count(), OTimeZone::current(), OPimNotify::dateTime(), OEvent::description(), OEvent::endDateTime(), Qtopia::escapeString(), OTimeZone::fromUTCDateTime(), OEvent::hasNotifiers(), OEvent::hasRecurrence(), OEvent::isAllDay(), QString::isEmpty(), QString::latin1(), OEvent::location(), OEvent::note(), OEvent::notifiers(), QString::number(), OEvent::parent(), OEvent::recurrence(), QDateTime::secsTo(), OPimAlarm::sound(), OEvent::startDateTime(), OEvent::timeZone(), OTimeZone::toDateTime(), ORecur::toString(), Qtopia::Record::uid(), and OTimeZone::utc().

Referenced by forAll().

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

Definition at line 150 of file odatebookaccessbackend_xml.cpp.

References QMap::begin(), QByteArray::data(), QMap::end(), QCString::length(), save(), QString::utf8(), and QIODevice::writeBlock().

Referenced by ODateBookAccessBackend_XML::save().


Variable Documentation

time_t start [static]
 

Definition at line 53 of file odatebookaccessbackend_xml.cpp.

time_t end [static]
 

Definition at line 53 of file odatebookaccessbackend_xml.cpp.

time_t created [static]
 

Definition at line 53 of file odatebookaccessbackend_xml.cpp.

time_t rp_end [static]
 

Definition at line 53 of file odatebookaccessbackend_xml.cpp.

ORecur* rec [static]
 

Definition at line 54 of file odatebookaccessbackend_xml.cpp.

Referenced by recur().

int alarmTime [static]
 

Definition at line 61 of file odatebookaccessbackend_xml.cpp.

int snd [static]
 

Definition at line 62 of file odatebookaccessbackend_xml.cpp.

KDE Logo
This file is part of the documentation for OPIE Version 1.1.
Documentation copyright © 1997-2003 the KDE developers. 2003 OPIE developers
Generated on Tue Feb 10 20:25:35 2004 by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2001