akonadi
#include <collectionrequester.h>
Inherits KHBox.
Public Slots | |
void | setCollection (const Akonadi::Collection &collection) |
Signals | |
void | collectionChanged (const Akonadi::Collection &collection) |
Public Member Functions | |
CollectionRequester (QWidget *parent=0) | |
CollectionRequester (const Akonadi::Collection &collection, QWidget *parent=0) | |
~CollectionRequester () | |
Collection::Rights | accessRightsFilter () const |
void | changeCollectionDialogOptions (CollectionDialog::CollectionDialogOptions options) |
Akonadi::Collection | collection () const |
QStringList | mimeTypeFilter () const |
void | setAccessRightsFilter (Collection::Rights rights) |
void | setMimeTypeFilter (const QStringList &mimeTypes) |
Detailed Description
A widget to request an Akonadi collection from the user.
This class is a widget showing a read-only lineedit displaying the currently chosen collection and a button invoking a dialog for choosing a collection.
Example:
- Since:
- 4.3
Definition at line 58 of file collectionrequester.h.
Constructor & Destructor Documentation
|
explicit |
Creates a collection requester.
- Parameters:
-
parent The parent widget.
|
explicit |
Creates a collection requester with an initial collection
.
- Parameters:
-
collection The initial collection. parent The parent widget.
Akonadi::CollectionRequester::~CollectionRequester | ( | ) |
Destroys the collection requester.
Member Function Documentation
Collection::Rights Akonadi::CollectionRequester::accessRightsFilter | ( | ) | const |
Returns the access rights that the listed collections shall match with.
- Since:
- 4.4
Akonadi::Collection Akonadi::CollectionRequester::collection | ( | ) | const |
Returns the currently chosen collection, or an empty collection if none none was chosen.
|
signal |
This signal is emitted when the selected collection has changed.
- Parameters:
-
collection The selected collection.
- Since:
- 4.5
QStringList Akonadi::CollectionRequester::mimeTypeFilter | ( | ) | const |
Returns the mime types any of which the selected collection shall support.
void Akonadi::CollectionRequester::setAccessRightsFilter | ( | Collection::Rights | rights | ) |
Sets the access rights
that the listed collections shall match with.
- Since:
- 4.4
|
slot |
Sets the collection
of the requester.
void Akonadi::CollectionRequester::setMimeTypeFilter | ( | const QStringList & | mimeTypes | ) |
Sets the mime types any of which the selected collection shall support.
The documentation for this class was generated from the following file:
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon Sep 24 2012 09:06:30 by doxygen 1.8.1.1 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.