kmobiletools
P2KWrapper Class Reference
#include <p2kwrapper.h>

Detailed Description
Definition at line 33 of file p2kwrapper.h.
Public Slots | |
| void | closePhone () |
| bool | connectPhone () |
| int | countFiles () |
| bool | deleteFile (const QString &name) |
| void | fetchFileList () |
| int | getFile (const QString &name, char *buffer) |
| QStringList | getRoot () |
| bool | putFile (const QString &name, char *buffer, int size) |
Public Member Functions | |
| bool | connected () |
| bool | findDevice (const QString &acmDevice, const QString &rawVendor, const QString &rawProduct) |
| QStringList | getDirs () |
| Q3ValueList< p2k_fileInfo > | getFiles () |
| P2KWrapper (QObject *parent=0, const char *name=0) | |
| P2KWrapper (int vendor, int at_prodID, int p2k_prodID, const QString &acmDevice, QObject *parent=0, const char *name=0) | |
| void | setATConfig (int v, int p) |
| void | setP2KConfig (int v, int p) |
| ~P2KWrapper () | |
Constructor & Destructor Documentation
| P2KWrapper::P2KWrapper | ( | int | vendor, | |
| int | at_prodID, | |||
| int | p2k_prodID, | |||
| const QString & | acmDevice, | |||
| QObject * | parent = 0, |
|||
| const char * | name = 0 | |||
| ) |
Definition at line 33 of file p2kwrapper.cpp.
| P2KWrapper::P2KWrapper | ( | QObject * | parent = 0, |
|
| const char * | name = 0 | |||
| ) | [explicit] |
Definition at line 50 of file p2kwrapper.cpp.
| P2KWrapper::~P2KWrapper | ( | ) |
Definition at line 131 of file p2kwrapper.cpp.
Member Function Documentation
| void P2KWrapper::closePhone | ( | ) | [slot] |
Definition at line 174 of file p2kwrapper.cpp.
| bool P2KWrapper::connected | ( | ) | [inline] |
Definition at line 41 of file p2kwrapper.h.
| bool P2KWrapper::connectPhone | ( | ) | [slot] |
Definition at line 145 of file p2kwrapper.cpp.
| int P2KWrapper::countFiles | ( | ) | [slot] |
Definition at line 252 of file p2kwrapper.cpp.
| bool P2KWrapper::deleteFile | ( | const QString & | name | ) | [slot] |
Definition at line 367 of file p2kwrapper.cpp.
| void P2KWrapper::fetchFileList | ( | ) | [slot] |
Definition at line 211 of file p2kwrapper.cpp.
| bool P2KWrapper::findDevice | ( | const QString & | acmDevice, | |
| const QString & | rawVendor, | |||
| const QString & | rawProduct | |||
| ) |
Definition at line 77 of file p2kwrapper.cpp.
| QStringList P2KWrapper::getDirs | ( | ) | [inline] |
Definition at line 43 of file p2kwrapper.h.
| int P2KWrapper::getFile | ( | const QString & | name, | |
| char * | buffer | |||
| ) | [slot] |
Get a file.
- Parameters:
-
name the name of the file. buffer a pointer to the buffer, or NULL if you need only to discover the file size.
- Returns:
- File size if successful, 0 otherwise.
Definition at line 272 of file p2kwrapper.cpp.
| Q3ValueList<p2k_fileInfo> P2KWrapper::getFiles | ( | ) | [inline] |
Definition at line 42 of file p2kwrapper.h.
| QStringList P2KWrapper::getRoot | ( | ) | [slot] |
Definition at line 189 of file p2kwrapper.cpp.
| bool P2KWrapper::putFile | ( | const QString & | name, | |
| char * | buffer, | |||
| int | size | |||
| ) | [slot] |
Definition at line 348 of file p2kwrapper.cpp.
| void P2KWrapper::setATConfig | ( | int | v, | |
| int | p | |||
| ) |
Definition at line 60 of file p2kwrapper.cpp.
| void P2KWrapper::setP2KConfig | ( | int | v, | |
| int | p | |||
| ) |
Definition at line 68 of file p2kwrapper.cpp.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference