akonadi
20 #ifndef AKONADI_COLLECTIONDIALOG_MOBILE_P_H
21 #define AKONADI_COLLECTIONDIALOG_MOBILE_P_H
23 #include "collectiondialog.h"
31 class AsyncSelectionHandler;
32 class EntityRightsFilterModel;
33 class EntityTreeModel;
35 class CollectionFilterProxyModel;
37 class CollectionDialog::Private :
public QObject
41 Q_PROPERTY(
QString descriptionText READ descriptionText NOTIFY descriptionTextChanged)
42 Q_PROPERTY(
bool okButtonEnabled READ okButtonEnabled NOTIFY buttonStatusChanged)
43 Q_PROPERTY(
bool cancelButtonEnabled READ cancelButtonEnabled NOTIFY buttonStatusChanged)
44 Q_PROPERTY(
bool createButtonEnabled READ createButtonEnabled NOTIFY buttonStatusChanged)
45 Q_PROPERTY(
bool createButtonVisible READ createButtonVisible NOTIFY buttonStatusChanged)
52 void slotSelectionChanged();
53 void slotAddChildCollection();
54 void slotCollectionCreationResult(KJob *job);
55 void slotCollectionAvailable(
const QModelIndex &index);
59 void setDescriptionText(
const QString &text);
60 QString descriptionText()
const;
62 bool okButtonEnabled()
const;
63 bool cancelButtonEnabled()
const;
64 bool createButtonEnabled()
const;
65 bool createButtonVisible()
const;
71 void setCurrentIndex(
int index);
72 void setFilterText(
const QString &text);
76 void descriptionTextChanged();
77 void buttonStatusChanged();
78 void selectionChanged(
int row);
82 ChangeRecorder *mMonitor;
83 EntityTreeModel *mModel;
84 CollectionFilterProxyModel *mMimeTypeFilterModel;
85 EntityRightsFilterModel *mRightsFilterModel;
86 AsyncSelectionHandler *mSelectionHandler;
90 QAbstractItemView::SelectionMode mSelectionMode;
92 bool mAllowToCreateNewChildCollection;
94 bool mOkButtonEnabled;
95 bool mCancelButtonEnabled;
96 bool mCreateButtonEnabled;
CollectionDialog(QWidget *parent=0)
Creates a new collection dialog.
Represents a collection of PIM items.
void changeCollectionDialogOptions(CollectionDialogOptions options)
Change collection dialog options.
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.