Akonadi
collectionrequester.cpp
Akonadi::Collection selectedCollection() const
Returns the selected collection if the selection mode is QAbstractItemView::SingleSelection.
Definition collectiondialog.cpp:311
void changeCollectionDialogOptions(CollectionDialogOptions options)
Change collection dialog options.
Definition collectiondialog.cpp:395
void setSelectionMode(QAbstractItemView::SelectionMode mode)
Sets the selection mode.
Definition collectiondialog.cpp:385
Job that fetches collections from the Akonadi storage.
Definition collectionfetchjob.h:39
A widget to request an Akonadi collection from the user.
Definition collectionrequester.h:50
void setContentMimeTypes(const QStringList &mimetypes)
Allow to specify collection content mimetype when we create new one.
Definition collectionrequester.cpp:235
~CollectionRequester() override
Destroys the collection requester.
void collectionChanged(const Akonadi::Collection &collection)
This signal is emitted when the selected collection has changed.
CollectionRequester(QWidget *parent=nullptr)
Creates a collection requester.
Definition collectionrequester.cpp:161
void setCollection(const Akonadi::Collection &collection)
Sets the collection of the requester.
Definition collectionrequester.cpp:183
Akonadi::Collection collection() const
Returns the currently chosen collection, or an empty collection if none none was chosen.
Definition collectionrequester.cpp:178
QStringList mimeTypeFilter() const
Returns the mime types any of which the selected collection shall support.
Definition collectionrequester.cpp:203
Collection::Rights accessRightsFilter() const
Returns the access rights that the listed collections shall match with.
Definition collectionrequester.cpp:219
void changeCollectionDialogOptions(CollectionDialog::CollectionDialogOptions options)
Definition collectionrequester.cpp:228
void setMimeTypeFilter(const QStringList &mimeTypes)
Sets the mime types any of which the selected collection shall support.
Definition collectionrequester.cpp:196
void setAccessRightsFilter(Collection::Rights rights)
Sets the access rights that the listed collections shall match with.
Definition collectionrequester.cpp:212
Collection parentCollection() const
Returns the parent collection of this object.
Definition collection.cpp:195
void finished(KJob *job)
QString i18nc(const char *context, const char *text, const TYPE &arg...)
Helper integration between Akonadi and Qt.
void clicked(bool checked)
void setIcon(const QIcon &icon)
SingleSelection
void triggered(bool checked)
Accepted
virtual int exec()
WindowTitleChange
QIcon fromTheme(const QString &name)
void setClearButtonEnabled(bool enable)
void setPlaceholderText(const QString &)
void setReadOnly(bool)
virtual QSize sizeHint() const const override
void setText(const QString &)
void prepend(parameter_type value)
iterator insert(const Key &key, const T &value)
T take(const Key &key)
Q_EMITQ_EMIT
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
void installEventFilter(QObject *filterObj)
QVariant property(const char *name) const const
int height() const const
QString join(QChar separator) const const
NoFocus
virtual void changeEvent(QEvent *event)
virtual bool event(QEvent *event) override
void setFocusPolicy(Qt::FocusPolicy policy)
void setFixedSize(const QSize &s)
void setFocusProxy(QWidget *w)
void setToolTip(const QString &)
void setWindowIcon(const QIcon &icon)
void setWindowTitle(const QString &)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:08:30 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:08:30 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.