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 )
101 explicit CollectionDialog( QAbstractItemModel *model, QWidget *parent = 0 );
116 explicit CollectionDialog( CollectionDialogOptions options, QAbstractItemModel *model = 0, QWidget *parent = 0 );
128 void setMimeTypeFilter(
const QStringList &mimeTypes );
133 QStringList mimeTypeFilter()
const;
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 );
201 Q_PRIVATE_SLOT( d,
void slotCollectionAvailable(
const QModelIndex& ) )
202 Q_PRIVATE_SLOT( d,
void slotSelectionChanged() )
203 Q_PRIVATE_SLOT( d,
void slotAddChildCollection() )
204 Q_PRIVATE_SLOT( d,
void slotCollectionCreationResult(KJob* job) )
205 Q_PRIVATE_SLOT( d,
void slotFilterFixedString(
const QString & ) )
211 #endif // AKONADI_COLLECTIONDIALOG_H
A collection selection dialog.
Represents a collection of PIM items.
QList< Collection > List
Describes a list of collections.
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:26 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.