Blokkal
an Extendable KDE Blogging Client
SourceForge.net Logo

Blokkal::Ui::ProviderInformation Class Reference

Encapsulates provider information. More...

#include <providercombobox.h>

List of all members.


Public Member Functions

const QIcon & icon (void) const
const QString & id (void) const
const QString & name (void) const
Blokkal::Ui::ProviderInformationoperator= (const Blokkal::Ui::ProviderInformation &provider)
 ProviderInformation (const Blokkal::Ui::ProviderInformation &provider)
 ProviderInformation (const QString &id, const QString &name, const QIcon &icon)
 ProviderInformation (const QString &id=QString::null, const QString &name=QString::null)
 ~ProviderInformation (void)

Detailed Description

Encapsulates provider information.

This class encapsulates provider information.

Author:
Martin Mueller <orvio@orvio.de>

Definition at line 112 of file providercombobox.h.


Constructor & Destructor Documentation

Blokkal::Ui::ProviderInformation::ProviderInformation ( const QString &  id = QString::null,
const QString &  name = QString::null 
)

Creates a new ProviderInformation object

Parameters:
id internal id of the provider
name arbitrary name of the provider

Definition at line 39 of file providercombobox.cpp.

Blokkal::Ui::ProviderInformation::ProviderInformation ( const QString &  id,
const QString &  name,
const QIcon &  icon 
)

Creates a new ProviderInformation object

Parameters:
id internal id of the provider
name arbitrary name of the provider
icon optional icon of the provider

Definition at line 44 of file providercombobox.cpp.

Blokkal::Ui::ProviderInformation::ProviderInformation ( const Blokkal::Ui::ProviderInformation provider  ) 

Copy Constructor

Parameters:
provider information to copy into the new object

Definition at line 49 of file providercombobox.cpp.

Blokkal::Ui::ProviderInformation::~ProviderInformation ( void   ) 

Destructor

Definition at line 54 of file providercombobox.cpp.


Member Function Documentation

const QIcon & Blokkal::Ui::ProviderInformation::icon ( void   )  const

Returns the icon of this provider.

Returns:
the icon of this provider

Definition at line 64 of file providercombobox.cpp.

const QString & Blokkal::Ui::ProviderInformation::id ( void   )  const

Returns the id of this provider. The "Custom"-configuration has always the id QString::null.

Returns:
the id of this provider

Definition at line 59 of file providercombobox.cpp.

const QString & Blokkal::Ui::ProviderInformation::name ( void   )  const

Returns the name of this provider.

Returns:
the name of this provider

Definition at line 69 of file providercombobox.cpp.

Blokkal::Ui::ProviderInformation & Blokkal::Ui::ProviderInformation::operator= ( const Blokkal::Ui::ProviderInformation provider  ) 

Creates a copy of the contents of provider.

Parameters:
provider the new content of this object

Definition at line 74 of file providercombobox.cpp.


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