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

OpieObex::Receiver Class Reference

#include </home/clem/local/src/opie/core/obex/receiver.h>

Collaboration diagram for OpieObex::Receiver:

Collaboration graph
[legend]
List of all members.

Public Types

enum  { Datebook, AddressBook, Other }

Public Member Functions

 Receiver ()
 ~Receiver ()

Private Slots

void slotReceived (const QString &)

Private Member Functions

void handleAddr (const QString &)
void handleDateTodo (const QString &)
void handleOther (const QString &)
int checkFile (QString &file)
bool testDateTodo (const QString &file)
bool testAddressbook (const QString &file)
void tidyUp (QString &file, const QString &ending)

Private Attributes

Obexm_obex

Member Enumeration Documentation

anonymous enum
 

Enumeration values:
Datebook 
AddressBook 
Other 

Definition at line 16 of file receiver.h.


Constructor & Destructor Documentation

Receiver::Receiver  ) 
 

Definition at line 29 of file receiver.cpp.

References m_obex, OpieObex::Obex::receive(), and slotReceived().

Receiver::~Receiver  ) 
 

Definition at line 35 of file receiver.cpp.

References m_obex, and OpieObex::Obex::setReceiveEnabled().


Member Function Documentation

int Receiver::checkFile QString file  )  [private]
 

currently the parser is broken in regard of BASE64 encoding and M$ likes to send that. So we will executed a small tidy up system sed script At this point we can also remove umlaute from the filename

Definition at line 87 of file receiver.cpp.

References AddressBook, Datebook, QString::fromLatin1(), QString::isEmpty(), Other, QString::right(), and tidyUp().

Referenced by slotReceived().

void Receiver::handleAddr const QString  )  [private]
 

Definition at line 49 of file receiver.cpp.

Referenced by slotReceived().

void Receiver::handleDateTodo const QString  )  [private]
 

Definition at line 54 of file receiver.cpp.

Referenced by slotReceived().

void Receiver::handleOther const QString  )  [private]
 

Definition at line 64 of file receiver.cpp.

References OpieObex::OtherHandler::handle().

Referenced by slotReceived().

void Receiver::slotReceived const QString  )  [private, slot]
 

Definition at line 39 of file receiver.cpp.

References AddressBook, checkFile(), Datebook, handleAddr(), handleDateTodo(), and handleOther().

Referenced by Receiver().

bool OpieObex::Receiver::testAddressbook const QString file  )  [private]
 

bool OpieObex::Receiver::testDateTodo const QString file  )  [private]
 

void Receiver::tidyUp QString file,
const QString ending
[private]
 

Definition at line 68 of file receiver.cpp.

References QFile::encodeName(), QString::fromLocal8Bit(), and Global::shellQuote().

Referenced by checkFile().


Member Data Documentation

Obex* OpieObex::Receiver::m_obex [private]
 

Definition at line 35 of file receiver.h.

Referenced by Receiver(), and ~Receiver().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 18:02:28 2005 for OPIE by  doxygen 1.4.2