Akonadi
collectioncombobox.h
void setMimeTypeFilter(const QStringList &mimetypes)
Sets the content mimetypes the collections shall be filtered by.
Definition collectioncombobox.cpp:118
bool excludeVirtualCollections() const
Definition collectioncombobox.cpp:165
CollectionComboBox(QWidget *parent=nullptr)
Creates a new collection combobox.
Definition collectioncombobox.cpp:104
QStringList mimeTypeFilter() const
Returns the content mimetype the collections are filtered by.
Definition collectioncombobox.cpp:130
~CollectionComboBox() override
Destroys the collection combobox.
Collection::Rights accessRightsFilter() const
Returns the access rights the collections are filtered by.
Definition collectioncombobox.cpp:140
void setAccessRightsFilter(Collection::Rights rights)
Sets the access rights the collections shall be filtered by.
Definition collectioncombobox.cpp:135
Akonadi::Collection currentCollection() const
Returns the current selection.
Definition collectioncombobox.cpp:150
void setExcludeVirtualCollections(bool b)
Definition collectioncombobox.cpp:160
void currentChanged(const Akonadi::Collection &collection)
This signal is emitted whenever the current selection has been changed.
void setDefaultCollection(const Collection &collection)
Sets the collection that shall be selected by default.
Definition collectioncombobox.cpp:145
Helper integration between Akonadi and Qt.
QComboBox(QWidget *parent)
void activated(int index)
QAbstractItemModel * model() const const
Q_OBJECTQ_OBJECT
Q_SIGNALSQ_SIGNALS
QObject * parent() const const
QWidget(QWidget *parent, Qt::WindowFlags f)
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:49:58 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:49:58 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.