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

kmobiletools

KMobileTools::CoreService

KMobileTools::CoreService Class Reference

#include <coreservice.h>

Inheritance diagram for KMobileTools::CoreService:

Inheritance graph
[legend]

List of all members.


Detailed Description

This is the base class for KMobileTools' core services.

Author:
Matthias Lechner <matthias@lmme.de>

Definition at line 37 of file coreservice.h.


Public Member Functions

 CoreService (QObject *parent)
bool implements (const QString &interfaceName)
virtual QString name () const =0
virtual QStringList requires () const =0
virtual ~CoreService ()

Constructor & Destructor Documentation

KMobileTools::CoreService::CoreService ( QObject *  parent  ) 

Constructs a new CoreService object with the given parent.

Parameters:
parent the object's parent

Definition at line 24 of file coreservice.cpp.

KMobileTools::CoreService::~CoreService (  )  [virtual]

Definition at line 29 of file coreservice.cpp.


Member Function Documentation

bool KMobileTools::CoreService::implements ( const QString &  interfaceName  ) 

Checks if the service implements a given interface.

Parameters:
interfaceName the plain name of the interface, e.g. "GuiService"
Returns:
true, if the service implements the given interface

Definition at line 33 of file coreservice.cpp.

virtual QString KMobileTools::CoreService::name (  )  const [pure virtual]

Returns the service's name.

Returns:
the service name

Implemented in Addressbook.

virtual QStringList KMobileTools::CoreService::requires (  )  const [pure virtual]

Returns a list of interfaces that an engine must have implemented to use this service.

Returns:
a list of required interfaces

Implemented in Addressbook.


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