akonadi/kabc
KABC::CollectionComboBox Class Reference
#include <collectioncombobox.h>
Inheritance diagram for KABC::CollectionComboBox:

Detailed Description
This class provides a combobox for selecting a collection.
Definition at line 36 of file collectioncombobox.h.
Signals | |
| void | selectionChanged (const Akonadi::Collection &identifier) |
Public Member Functions | |
| CollectionComboBox (QWidget *parent=0) | |
| Akonadi::Collection | selectedCollection () const |
| void | setModel (QAbstractItemModel *model) |
| ~CollectionComboBox () | |
Constructor & Destructor Documentation
| CollectionComboBox::CollectionComboBox | ( | QWidget * | parent = 0 |
) |
Creates a new collection combobox.
- Parameters:
-
parent The parent widget.
Definition at line 56 of file collectioncombobox.cpp.
| CollectionComboBox::~CollectionComboBox | ( | ) |
Member Function Documentation
| Akonadi::Collection CollectionComboBox::selectedCollection | ( | ) | const |
Returns the identifier of the selected collection.
Definition at line 79 of file collectioncombobox.cpp.
| void KABC::CollectionComboBox::selectionChanged | ( | const Akonadi::Collection & | identifier | ) | [signal] |
This signal is emitted whenever the selected collection changed.
- Parameters:
-
identifier The identifier of the selected collection.
| void CollectionComboBox::setModel | ( | QAbstractItemModel * | model | ) |
The documentation for this class was generated from the following files:
KDE 4.2 API Reference