akonadi
itemmodel.cpp
75 mParent->connect(monitor, SIGNAL(itemMoved(Akonadi::Item,Akonadi::Collection,Akonadi::Collection)),
97 void itemMoved(const Akonadi::Item &item, const Akonadi::Collection &src, const Akonadi::Collection &dst);
204 void ItemModel::Private::itemMoved(const Akonadi::Item &item, const Akonadi::Collection &colSrc, const Akonadi::Collection &colDst)
452 bool ItemModel::dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent)
void collectionChanged(const Akonadi::Collection &collection)
This signal is emitted whenever setCollection is called.
Collection::List collections() const
Returns the list of fetched collection.
Definition: collectionfetchjob.cpp:169
virtual QModelIndex index(int row, int column, const QModelIndex &parent) const
Session * session() const
Returns the Session object used for all operations by this model.
Definition: itemmodel.cpp:425
KJob * paste(const QMimeData *mimeData, const Collection &collection, bool copy=true, Session *session=0)
Paste/drop the given mime data into the given collection.
Definition: pastehelper.cpp:272
Job that fetches collections from the Akonadi storage.
Definition: collectionfetchjob.h:53
Only fetch the base collection.
Definition: collectionfetchjob.h:62
Item itemForIndex(const QModelIndex &index) const
Returns the item at the given index.
Definition: itemmodel.cpp:391
void reset()
bool isValid() const
QString number(int n, int base)
int count(const T &value) const
void setFetchScope(ItemFetchScope &fetchScope)
Sets the item fetch scope.
Definition: itemfetchjob.cpp:247
bool isEmpty() const
QByteArray number(int n, int base)
int row() const
QCoreApplication * instance()
T & first()
virtual QVariant headerData(int section, Qt::Orientation orientation, int role) const
Specifies which parts of an item should be fetched from the Akonadi storage.
Definition: itemfetchscope.h:69
bool contains(QChar ch, Qt::CaseSensitivity cs) const
void setValue(const T &value)
void setCollection(const Akonadi::Collection &collection)
Sets the collection the model should display.
Definition: itemmodel.cpp:341
void setFetchScope(const ItemFetchScope &fetchScope)
Sets the item fetch scope.
Definition: itemmodel.cpp:381
typedef DropActions
QModelIndex indexForItem(const Akonadi::Item &item, const int column) const
Returns the model index for the given item, with the given column.
Definition: itemmodel.cpp:447
int column() const
QStringList contentMimeTypes() const
Returns a list of possible content mimetypes, e.g.
Definition: collection.cpp:115
virtual Qt::ItemFlags flags(const QModelIndex &index) const
Collection collection() const
Returns the collection being displayed in the model.
Definition: itemmodel.cpp:462
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
QObject * parent() const
typedef ItemFlags
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.