kmobiletools
KMobileTools::CoreService Class Reference
#include <coreservice.h>
Inheritance diagram for KMobileTools::CoreService:

Detailed Description
This is the base class for KMobileTools' core services.
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] |
| 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:
KDE 4.2 API Reference