accounts-qt 0.31

Accounts::Service Class Reference

Representation of an account service. More...

#include <service.h>

List of all members.

Public Member Functions

QString name () const
QString displayName () const
QString serviceType () const
QString provider () const
QString iconName () const
QXmlStreamReader * xmlStreamReader () const
 Create a QXmlStreamReader for the service XML file, positioned at the "type_data" element.
const QDomDocument domDocument () const
 Return the DOM of the whole XML service file.

Friends

class Account
class Manager

Detailed Description

Representation of an account service.

The Service object represents an account service. It can be used to retrieve some basic properties of the service (such as name, type and provider) and to get access to the contents of the XML file which defines it.

Definition at line 57 of file service.h.


Member Function Documentation

QString Service::displayName ( ) const
Todo:
define

Definition at line 55 of file service.cpp.

const QDomDocument Service::domDocument ( ) const

Return the DOM of the whole XML service file.

Definition at line 96 of file service.cpp.

QString Service::iconName ( ) const
Returns:
the icon name.

Definition at line 70 of file service.cpp.

QString Service::name ( ) const
Todo:
define

Definition at line 50 of file service.cpp.

QString Service::provider ( ) const
Todo:
define

Definition at line 65 of file service.cpp.

QString Service::serviceType ( ) const
Todo:
define

Definition at line 60 of file service.cpp.

QXmlStreamReader * Service::xmlStreamReader ( ) const

Create a QXmlStreamReader for the service XML file, positioned at the "type_data" element.

Definition at line 75 of file service.cpp.


Friends And Related Function Documentation

friend class Account [friend]

Definition at line 101 of file service.h.

friend class Manager [friend]

Definition at line 102 of file service.h.


The documentation for this class was generated from the following files: