kmobiletools
OBEXWrapper Class Reference
#include <obexwrapper.h>

Detailed Description
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:
KDE 4.1 API Reference