akonadi
collectiondialog.h
116 explicit CollectionDialog(CollectionDialogOptions options, QAbstractItemModel *model = 0, QWidget *parent = 0);
void setContentMimeTypes(const QStringList &mimetypes)
Allow to specify collection content mimetype when we create new one.
Definition collectiondialog_desktop.cpp:409
CollectionDialog(QWidget *parent=0)
Creates a new collection dialog.
Definition collectiondialog_desktop.cpp:286
void setUseFolderByDefault(bool b)
Definition collectiondialog_desktop.cpp:398
Akonadi::Collection selectedCollection() const
Returns the selected collection if the selection mode is QAbstractItemView::SingleSelection.
Definition collectiondialog_desktop.cpp:309
void changeCollectionDialogOptions(CollectionDialogOptions options)
Change collection dialog options.
Definition collectiondialog_desktop.cpp:393
QAbstractItemView::SelectionMode selectionMode() const
Returns the selection mode.
Definition collectiondialog_desktop.cpp:388
void setDefaultCollection(const Collection &collection)
Sets the collection that shall be selected by default.
Definition collectiondialog_desktop.cpp:378
void setSelectionMode(QAbstractItemView::SelectionMode mode)
Sets the selection mode.
Definition collectiondialog_desktop.cpp:383
void setAccessRightsFilter(Collection::Rights rights)
Sets the access rights that the listed collections shall match with.
Definition collectiondialog_desktop.cpp:359
QStringList mimeTypeFilter() const
Returns the mime types any of which the selected collection(s) shall support.
Definition collectiondialog_desktop.cpp:354
void setMimeTypeFilter(const QStringList &mimeTypes)
Sets the mime types any of which the selected collection(s) shall support.
Definition collectiondialog_desktop.cpp:338
void setDescription(const QString &text)
Sets the text that will be shown in the dialog.
Definition collectiondialog_desktop.cpp:372
Collection::Rights accessRightsFilter() const
Sets the access rights that the listed collections shall match with.
Definition collectiondialog_desktop.cpp:367
Akonadi::Collection::List selectedCollections() const
Returns the list of selected collections.
Definition collectiondialog_desktop.cpp:321
bool useFolderByDefault() const
Definition collectiondialog_desktop.cpp:404
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.