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

kmobiletools

FakeEngine Class Reference

#include <fakeengine.h>

Inheritance diagram for FakeEngine:

Inheritance graph
[legend]

List of all members.


Detailed Description

Author:
Matthias Lechner <matthias@lmme.de>

Definition at line 42 of file fakeengine.h.


Public Slots

void addAddressee (const KMobileTools::AddressbookEntry &addressee)
void connectDevice ()
void disconnectDevice ()
void editAddressee (const KMobileTools::AddressbookEntry &oldAddressee, const KMobileTools::AddressbookEntry &newAddressee)
void fetchAddressbook ()
void fetchInformation ()
void fetchStatusInformation ()
void removeAddressee (const KMobileTools::AddressbookEntry &addressee)

Signals

void addressbookFetched ()
void addresseeAdded (const KMobileTools::AddressbookEntry &addressee)
void addresseeEdited (const KMobileTools::AddressbookEntry &oldAddressee, const KMobileTools::AddressbookEntry &newAddressee)
void addresseeRemoved (const KMobileTools::AddressbookEntry &addressee)
void chargeChanged (int)
void chargeTypeChanged (KMobileTools::Status::PowerSupplyType)
void informationFetched ()
void jobCreated (KMobileTools::JobXP *job)
void networkNameChanged (const QString &)
void phoneRinging (bool)
void signalStrengthChanged (int)
void statusInformationFetched ()

Public Member Functions

KMobileTools::Addressbook addressbook () const
KMobileTools::AddressbookEntry::MemorySlots availableMemorySlots () const
int charge () const
 FakeEngine (QObject *parent, const QString &deviceName)
QString imei () const
QString manufacturer () const
KMobileTools::Information::Manufacturer manufacturerID () const
QString model () const
QString networkName () const
QList< QWizardPage * > pageList () const
KMobileTools::Status::PowerSupplyType powerSupplyType () const
QString revision () const
bool ringing () const
int signalStrength () const
virtual ~FakeEngine ()

Constructor & Destructor Documentation

FakeEngine::FakeEngine ( QObject *  parent,
const QString &  deviceName 
)

Definition at line 31 of file fakeengine.cpp.

FakeEngine::~FakeEngine (  )  [virtual]

Definition at line 58 of file fakeengine.cpp.


Member Function Documentation

void FakeEngine::addAddressee ( const KMobileTools::AddressbookEntry &  addressee  )  [virtual, slot]

Adds the addressee to the address book.

Parameters:
addressee the addresse to add

Implements KMobileTools::Ifaces::Addressbook.

Definition at line 282 of file fakeengine.cpp.

KMobileTools::Addressbook FakeEngine::addressbook (  )  const [virtual]

Returns the fetched address book.

Returns:
the fetched address book

Implements KMobileTools::Ifaces::Addressbook.

Definition at line 274 of file fakeengine.cpp.

void FakeEngine::addressbookFetched (  )  [virtual, signal]

This signal is emitted when the address book has been fetched from the phone.

Implements KMobileTools::Ifaces::Addressbook.

void FakeEngine::addresseeAdded ( const KMobileTools::AddressbookEntry &  addressee  )  [virtual, signal]

This signal is emitted when an addressee has been added to the phone's address book.

addressee the addresse that has been added

Implements KMobileTools::Ifaces::Addressbook.

void FakeEngine::addresseeEdited ( const KMobileTools::AddressbookEntry &  oldAddressee,
const KMobileTools::AddressbookEntry &  newAddressee 
) [virtual, signal]

This signal is emitted when an addressee has been edited on the phone's address book.

Parameters:
oldAddressee the old address book entry
newAddressee the new address book entry

Implements KMobileTools::Ifaces::Addressbook.

void FakeEngine::addresseeRemoved ( const KMobileTools::AddressbookEntry &  addressee  )  [virtual, signal]

This signal is emitted when an addressee has been removed from the phone's address book.

addressee the addresse that has been removed

Implements KMobileTools::Ifaces::Addressbook.

KMobileTools::AddressbookEntry::MemorySlots FakeEngine::availableMemorySlots (  )  const [virtual]

Returns an OR-combination of available memory slots.

Implements KMobileTools::Ifaces::Addressbook.

Definition at line 266 of file fakeengine.cpp.

int FakeEngine::charge (  )  const [virtual]

Returns the phone's charge in percent.

Returns:
the charge in percent

Implements KMobileTools::Ifaces::Status.

Definition at line 105 of file fakeengine.cpp.

void FakeEngine::chargeChanged ( int  charge  )  [virtual, signal]

This signal is whenever the phone charge changes.

Parameters:
charge the charge level in percent

Implements KMobileTools::Ifaces::Status.

void FakeEngine::chargeTypeChanged ( KMobileTools::Status::PowerSupplyType  powerSupplyType  )  [virtual, signal]

This signal is emitted whenever the phone's power supply source changes.

Parameters:
powerSupplyType the power supply type

Implements KMobileTools::Ifaces::Status.

void FakeEngine::connectDevice (  )  [virtual, slot]

Initializes the engine and the communication with the device with given deviceName.

Implements KMobileTools::EngineXP.

Definition at line 77 of file fakeengine.cpp.

void FakeEngine::disconnectDevice (  )  [virtual, slot]

Cancels any open connection.

Implements KMobileTools::EngineXP.

Definition at line 84 of file fakeengine.cpp.

void FakeEngine::editAddressee ( const KMobileTools::AddressbookEntry &  oldAddressee,
const KMobileTools::AddressbookEntry &  newAddressee 
) [virtual, slot]

Replaces the existing oldAddressee on the phone with newAddressee.

Parameters:
oldAddressee the existing address book entry
newAddressee the new address book entry

Implements KMobileTools::Ifaces::Addressbook.

Definition at line 291 of file fakeengine.cpp.

void FakeEngine::fetchAddressbook (  )  [virtual, slot]

Fetches the phone's address book.

Implements KMobileTools::Ifaces::Addressbook.

Definition at line 232 of file fakeengine.cpp.

void FakeEngine::fetchInformation (  )  [virtual, slot]

Fetches information about the phone.

Implements KMobileTools::Ifaces::Information.

Definition at line 194 of file fakeengine.cpp.

void FakeEngine::fetchStatusInformation (  )  [virtual, slot]

Fetches status information from the phone.

Implements KMobileTools::Ifaces::Status.

Definition at line 174 of file fakeengine.cpp.

QString FakeEngine::imei (  )  const [virtual]

Returns the phone's raw IMEI.

The IMEI is a number unique to every GSM and UMTS mobile phone.

Returns:
the phone raw IMEI

Implements KMobileTools::Ifaces::Information.

Definition at line 158 of file fakeengine.cpp.

void FakeEngine::informationFetched (  )  [virtual, signal]

This signal is emitted when the phone information have been fetched from the phone.

Implements KMobileTools::Ifaces::Information.

void FakeEngine::jobCreated ( KMobileTools::JobXP *  job  )  [virtual, signal]

Implements KMobileTools::Ifaces::JobProvider.

QString FakeEngine::manufacturer (  )  const [virtual]

Returns the phone manufacturer.

Returns:
a QString containing the phone manufacturer.

Implements KMobileTools::Ifaces::Information.

Definition at line 134 of file fakeengine.cpp.

KMobileTools::Information::Manufacturer FakeEngine::manufacturerID (  )  const [virtual]

Returns the phone manufacturer ID.

Returns:
the phone manufacturer ID

Implements KMobileTools::Ifaces::Information.

Definition at line 142 of file fakeengine.cpp.

QString FakeEngine::model (  )  const [virtual]

Returns the phone model.

Returns:
the phone model

Implements KMobileTools::Ifaces::Information.

Definition at line 150 of file fakeengine.cpp.

QString FakeEngine::networkName (  )  const [virtual]

Returns the network the phone is currently logged in.

Returns:
the network name

Implements KMobileTools::Ifaces::Information.

Definition at line 126 of file fakeengine.cpp.

void FakeEngine::networkNameChanged ( const QString &  networkName  )  [virtual, signal]

This signal is emitted whenever the network name changes.

Implements KMobileTools::Ifaces::Information.

QList< QWizardPage * > FakeEngine::pageList (  )  const [virtual]

Returns a list of wizard pages that will be dynamically loaded at runtime by the device wizard.

Returns:
a list of wizard pages

Implements KMobileTools::Ifaces::WizardProvider.

Definition at line 63 of file fakeengine.cpp.

void FakeEngine::phoneRinging ( bool  ringing  )  [virtual, signal]

This signal whenever the phone is ringing.

Parameters:
ringing true if phone is ringing

Implements KMobileTools::Ifaces::Status.

KMobileTools::Status::PowerSupplyType FakeEngine::powerSupplyType (  )  const [virtual]

Returns the phone's current power supply type.

Returns:
the power supply type

Implements KMobileTools::Ifaces::Status.

Definition at line 113 of file fakeengine.cpp.

void FakeEngine::removeAddressee ( const KMobileTools::AddressbookEntry &  addressee  )  [virtual, slot]

Removes the addressee from the address book.

Parameters:
addressee the addresse to remove

Implements KMobileTools::Ifaces::Addressbook.

Definition at line 302 of file fakeengine.cpp.

QString FakeEngine::revision (  )  const [virtual]

Returns the phone firmware revision.

Returns:
the phone firmware revision

Implements KMobileTools::Ifaces::Information.

Definition at line 166 of file fakeengine.cpp.

bool FakeEngine::ringing (  )  const [virtual]

Returns whether the phone is ringing.

Returns:
true if the phone is ringing

Implements KMobileTools::Ifaces::Status.

Definition at line 121 of file fakeengine.cpp.

int FakeEngine::signalStrength (  )  const [virtual]

Returns the phone's signal strength in percent.

Returns:
the signal strength in percent

Implements KMobileTools::Ifaces::Status.

Definition at line 97 of file fakeengine.cpp.

void FakeEngine::signalStrengthChanged ( int  signalStrength  )  [virtual, signal]

This signal is emitted whenever the signal strength has changed.

Parameters:
signalStrength the signal level in percent

Implements KMobileTools::Ifaces::Status.

void FakeEngine::statusInformationFetched (  )  [virtual, signal]

This signal is emitted when the status information have been fetched from the phone.

Implements KMobileTools::Ifaces::Status.


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