Changeset View
Changeset View
Standalone View
Standalone View
akonadi/calendar/etmcalendar_p.h
Show First 20 Lines • Show All 84 Lines • ▼ Show 20 Lines | class ETMCalendarPrivate : public CalendarBasePrivate | ||||
Q_OBJECT | Q_OBJECT | ||||
public: | public: | ||||
explicit ETMCalendarPrivate(ETMCalendar *qq); | explicit ETMCalendarPrivate(ETMCalendar *qq); | ||||
~ETMCalendarPrivate(); | ~ETMCalendarPrivate(); | ||||
void init(); | void init(); | ||||
void setupFilteredETM(); | void setupFilteredETM(); | ||||
void loadFromETM(); | |||||
public Q_SLOTS: | public Q_SLOTS: | ||||
void loadFromETM(); | |||||
Akonadi::Item::List itemsFromModel(const QAbstractItemModel *model, | Akonadi::Item::List itemsFromModel(const QAbstractItemModel *model, | ||||
const QModelIndex &parentIndex = QModelIndex(), | const QModelIndex &parentIndex = QModelIndex(), | ||||
int start = 0, | int start = 0, | ||||
int end = -1); | int end = -1); | ||||
Akonadi::Collection::List collectionsFromModel(const QAbstractItemModel *model, | Akonadi::Collection::List collectionsFromModel(const QAbstractItemModel *model, | ||||
const QModelIndex &parentIndex = QModelIndex(), | const QModelIndex &parentIndex = QModelIndex(), | ||||
int start = 0, | int start = 0, | ||||
Show All 34 Lines | public: | ||||
Akonadi::CalFilterProxyModel *mCalFilterProxyModel; //KCalCore::CalFilter stuff | Akonadi::CalFilterProxyModel *mCalFilterProxyModel; //KCalCore::CalFilter stuff | ||||
CalendarNamespaceProxyModel *mCalendarNamespaceModel; //KCalCore::CalFilter stuff | CalendarNamespaceProxyModel *mCalendarNamespaceModel; //KCalCore::CalFilter stuff | ||||
//filter out all invitations and declined events | //filter out all invitations and declined events | ||||
Akonadi::CalFilterPartStatusProxyModel *mCalFilterPartStatusProxyModel; | Akonadi::CalFilterPartStatusProxyModel *mCalFilterPartStatusProxyModel; | ||||
KSelectionProxyModel *mSelectionProxy; | KSelectionProxyModel *mSelectionProxy; | ||||
bool mCollectionFilteringEnabled; | bool mCollectionFilteringEnabled; | ||||
QSet<Akonadi::Collection::Id> mPopulatedCollectionIds; | QSet<Akonadi::Collection::Id> mPopulatedCollectionIds; | ||||
QStringList mMimeTypes; | QStringList mMimeTypes; | ||||
QTimer *mLoadFromModelTimer; | |||||
private: | private: | ||||
ETMCalendar *const q; | ETMCalendar *const q; | ||||
}; | }; | ||||
class CalendarNamespaceProxyModel : public QIdentityProxyModel | class CalendarNamespaceProxyModel : public QIdentityProxyModel | ||||
{ | { | ||||
Q_OBJECT | Q_OBJECT | ||||
public: | public: | ||||
Show All 23 Lines |