akonadi
21 #ifndef AKONADI_COLLECTIONDIALOG_H
22 #define AKONADI_COLLECTIONDIALOG_H
24 #include "akonadi_export.h"
28 #include <akonadi/collection.h>
30 #include <QAbstractItemView>
75 enum CollectionDialogOption {
77 AllowToCreateNewChildCollection = 1,
81 Q_DECLARE_FLAGS(CollectionDialogOptions, CollectionDialogOption)
128 void setMimeTypeFilter(
const QStringList &mimeTypes);
140 void setAccessRightsFilter(Collection::Rights rights);
147 Collection::Rights accessRightsFilter()
const;
154 void setDescription(
const QString &text);
161 void setDefaultCollection(
const Collection &collection);
169 void setSelectionMode(QAbstractItemView::SelectionMode mode);
175 QAbstractItemView::SelectionMode selectionMode()
const;
194 void changeCollectionDialogOptions(CollectionDialogOptions options);
199 void setUseFolderByDefault(
bool b);
203 bool useFolderByDefault()
const;
208 void setContentMimeTypes(
const QStringList &mimetypes);
215 Q_PRIVATE_SLOT(d,
void slotCollectionAvailable(
const QModelIndex &))
216 Q_PRIVATE_SLOT(d,
void slotSelectionChanged())
217 Q_PRIVATE_SLOT(d,
void slotAddChildCollection())
218 Q_PRIVATE_SLOT(d,
void slotCollectionCreationResult(KJob *job))
219 Q_PRIVATE_SLOT(d,
void slotFilterFixedString(
const QString &))
220 Q_PRIVATE_SLOT(d,
void slotDoubleClicked())
226 #endif // AKONADI_COLLECTIONDIALOG_H
A collection selection dialog.
Represents a collection of PIM items.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:02 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.