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

kmobiletools

kmobiletoolsATJob Class Reference

#include <at_jobs.h>

Inheritance diagram for kmobiletoolsATJob:

Inheritance graph
[legend]

List of all members.


Detailed Description

Wrapper providing some functions to parse the response to AT commands.

Definition at line 50 of file at_jobs.h.


Public Member Functions

QString decodeString (const QString &text)
QString encodeString (const QString &text)
 kmobiletoolsATJob (KMobileTools::Job *pjob, KMobileTools::SerialManager *device, AT_Engine *parent=0)
 kmobiletoolsATJob (KMobileTools::SerialManager *device, AT_Engine *parent=0)

Static Public Member Functions

static QStringList formatBuffer (QString buffer)
static QString parseInfo (const QString &buffer)
static QStringList parseList (QString list, char begins='C')
static QStringList parseMultiList (QString list)

Protected Attributes

AT_Engine * engine
int i_retry
KMobileTools::SerialManager * p_device

Constructor & Destructor Documentation

kmobiletoolsATJob::kmobiletoolsATJob ( KMobileTools::SerialManager *  device,
AT_Engine *  parent = 0 
) [explicit]

Definition at line 34 of file at_jobs.cpp.

kmobiletoolsATJob::kmobiletoolsATJob ( KMobileTools::Job *  pjob,
KMobileTools::SerialManager *  device,
AT_Engine *  parent = 0 
)

Definition at line 40 of file at_jobs.cpp.


Member Function Documentation

QString kmobiletoolsATJob::decodeString ( const QString &  text  ) 

Decoes a string using the character encoding given in the configuration.

Definition at line 153 of file at_jobs.cpp.

QString kmobiletoolsATJob::encodeString ( const QString &  text  ) 

Decoes a string using the character encoding given in the configuration.

Definition at line 164 of file at_jobs.cpp.

QStringList kmobiletoolsATJob::formatBuffer ( QString  buffer  )  [static]

Returns a QStringList containing each relevant line in the string buffer.

The buffer is split by newlines. Then empty lines and the line containing the closing OK are removed.

Definition at line 59 of file at_jobs.cpp.

QString kmobiletoolsATJob::parseInfo ( const QString &  buffer  )  [static]

Definition at line 141 of file at_jobs.cpp.

QStringList kmobiletoolsATJob::parseList ( QString  list,
char  begins = 'C' 
) [static]

Returns a QStringList containing each entry in the passed comma separated list.

If buffer begins with "+CXXX:" this is ignored. All clinched quotation marks are removed.

Definition at line 81 of file at_jobs.cpp.

QStringList kmobiletoolsATJob::parseMultiList ( QString  list  )  [static]

Returns a QStringList containing each entry/list in the nested list.

The passed argument is treated as a nested list so each entry in the return argument can be another comma separated list.

Definition at line 120 of file at_jobs.cpp.


Member Data Documentation

AT_Engine* kmobiletoolsATJob::engine [protected]

Reimplemented in FetchAddresseeSiemens.

Definition at line 79 of file at_jobs.h.

int kmobiletoolsATJob::i_retry [protected]

Definition at line 80 of file at_jobs.h.

KMobileTools::SerialManager* kmobiletoolsATJob::p_device [protected]

Definition at line 78 of file at_jobs.h.


The documentation for this class was generated from the following files:
  • at_jobs.h
  • at_jobs.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