• Skip to content
  • Skip to link menu
KDE 4.1 API Reference
  • KDE API Reference
  • kdepim
  • Sitemap
  • Contact Us
 

kmobiletools

OBEXWrapper Class Reference

#include <obexwrapper.h>

Inheritance diagram for OBEXWrapper:

Inheritance graph
[legend]

List of all members.


Detailed Description

Author:
Marcin Przylucki

Definition at line 38 of file obexwrapper.h.


Public Slots

bool connectClient ()
bool deleteFile (const QString &path)
void disconnectClient ()
bool fetchFileList (const QString &path)
int getFile (const QString &path)
bool mkDir (const QString &path)
int putFile (const QString &path, char *buffer, int size)

Public Member Functions

uint bufferSize ()
bool connected ()
obexftp_client_t * getClient ()
Q3ValueList< stat_entry_t > getFiles ()
 OBEXWrapper (QObject *parent=0, const char *name=NULL)
void setupParameters (int transport=OBEX_TRANS_IRDA, int channel=-1, const QString &device=NULL, const uint8_t *use_uuid=UUID_FBS, int use_uuid_len=sizeof(UUID_FBS), int use_conn=1, int use_path=1)
 ~OBEXWrapper ()

Static Public Member Functions

static OBEXWrapper * instance ()

Constructor & Destructor Documentation

OBEXWrapper::OBEXWrapper ( QObject *  parent = 0,
const char *  name = NULL 
) [explicit]

Definition at line 36 of file obexwrapper.cpp.

OBEXWrapper::~OBEXWrapper (  ) 

Definition at line 62 of file obexwrapper.cpp.


Member Function Documentation

uint OBEXWrapper::bufferSize (  )  [inline]

Definition at line 57 of file obexwrapper.h.

bool OBEXWrapper::connectClient (  )  [slot]

Definition at line 158 of file obexwrapper.cpp.

bool OBEXWrapper::connected (  )  [inline]

Definition at line 54 of file obexwrapper.h.

bool OBEXWrapper::deleteFile ( const QString &  path  )  [slot]

Definition at line 271 of file obexwrapper.cpp.

void OBEXWrapper::disconnectClient (  )  [slot]

Definition at line 196 of file obexwrapper.cpp.

bool OBEXWrapper::fetchFileList ( const QString &  path  )  [slot]

Definition at line 211 of file obexwrapper.cpp.

obexftp_client_t* OBEXWrapper::getClient (  )  [inline]

Definition at line 56 of file obexwrapper.h.

int OBEXWrapper::getFile ( const QString &  path  )  [slot]

Get a file, the file is stored in uint8_t* client->buf_data, the size of file is stored in uint32_t client->buf_size.

Parameters:
path the path to the file.
Returns:
1 if successful, 0 otherwise.

Definition at line 245 of file obexwrapper.cpp.

Q3ValueList<stat_entry_t> OBEXWrapper::getFiles (  )  [inline]

Definition at line 55 of file obexwrapper.h.

static OBEXWrapper* OBEXWrapper::instance (  )  [inline, static]

Definition at line 58 of file obexwrapper.h.

bool OBEXWrapper::mkDir ( const QString &  path  )  [slot]

Definition at line 281 of file obexwrapper.cpp.

int OBEXWrapper::putFile ( const QString &  path,
char *  buffer,
int  size 
) [slot]

Definition at line 258 of file obexwrapper.cpp.

void OBEXWrapper::setupParameters ( int  transport = OBEX_TRANS_IRDA,
int  channel = -1,
const QString &  device = NULL,
const uint8_t *  use_uuid = UUID_FBS,
int  use_uuid_len = sizeof(UUID_FBS),
int  use_conn = 1,
int  use_path = 1 
)

Definition at line 42 of file obexwrapper.cpp.


The documentation for this class was generated from the following files:
  • obexwrapper.h
  • obexwrapper.cpp

kmobiletools

Skip menu "kmobiletools"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  •   doc
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal