an Extendable KDE Blogging Client Logo

Blokkal::Ui::ProviderComboBox Class Reference

KComboBox for selection of provider setups. More...

#include <providercombobox.h>

Inheritance diagram for Blokkal::Ui::ProviderComboBox:

List of all members.

Public Slots

void setCurrentProvider (const QString &id)


void providerSelected (const QString &id)

Public Member Functions

void addProviders (const ProviderList &providers)
QString currentProvider (void) const
 ProviderComboBox (QWidget *parent=0)
void setProviders (const ProviderList &providers)
virtual ~ProviderComboBox (void)

Detailed Description

KComboBox for selection of provider setups.

This class is intended to simplify presentation of various provider setups.

Martin Mueller <>

Definition at line 46 of file providercombobox.h.

Constructor & Destructor Documentation

Blokkal::Ui::ProviderComboBox::ProviderComboBox ( QWidget *  parent = 0  ) 

Creates a new ProviderComboBox.

parent parent widget

Definition at line 90 of file providercombobox.cpp.

Blokkal::Ui::ProviderComboBox::~ProviderComboBox ( void   )  [virtual]


Definition at line 98 of file providercombobox.cpp.

Member Function Documentation

void Blokkal::Ui::ProviderComboBox::addProviders ( const ProviderList &  providers  ) 

Adds the providers in providers to the current provider list.

providers the new providers
The "Custom" item is always at the end of the list that is presented to the user

Definition at line 111 of file providercombobox.cpp.

QString Blokkal::Ui::ProviderComboBox::currentProvider ( void   )  const

Returns the id string of the currently selected provider.

the id string of the currently selected provider

Definition at line 132 of file providercombobox.cpp.

void Blokkal::Ui::ProviderComboBox::providerSelected ( const QString &  id  )  [signal]

This signal is emitted when a new provider is selected.

id id of the newly selected provider

void Blokkal::Ui::ProviderComboBox::setCurrentProvider ( const QString &  id  )  [slot]

Sets the currently selected provider to the one which id matches id. If no such provider exists the "Custom"-Element is selected

id id of the provider to select

Definition at line 141 of file providercombobox.cpp.

void Blokkal::Ui::ProviderComboBox::setProviders ( const ProviderList &  providers  ) 

Replaces the current provider list with providers

providers the new provider list
An item for "Custom" is always added to the provider list.

Definition at line 103 of file providercombobox.cpp.

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