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

kmobiletools

P2KWrapper Class Reference

#include <p2kwrapper.h>

Inheritance diagram for P2KWrapper:

Inheritance graph
[legend]

List of all members.


Detailed Description

Author:
Marco Gulino

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:
  • p2kwrapper.h
  • p2kwrapper.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
  • 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