akonadi
pastehelper.cpp
91 KJob* PasteHelper::paste(const QMimeData * mimeData, const Collection & collection, bool copy, Session *session )
126 KJob* PasteHelper::pasteUriList( const QMimeData* mimeData, const Collection &destination, Qt::DropAction action, Session *session )
154 //transactions (copy and colcopy in the server doesn't see the items retrieved into the cache and copies empty payloads).
163 foreach ( const Collection &col, collections ) { // FIXME: remove once we have a batch job for collections as well
171 foreach ( const Collection &col, collections ) { // FIXME: remove once we have a batch job for collections as well
Job that moves a collection in the Akonadi storage to a new parent collection.
Definition: collectionmovejob.h:50
Job that copies a set of items to a target collection in the Akonadi storage.
Definition: itemcopyjob.h:60
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:91
Can create new subcollections in this collection.
Definition: collection.h:92
KJob * pasteUriList(const QMimeData *mimeData, const Collection &collection, Qt::DropAction action, Session *session=0)
URI list paste/drop.
Definition: pastehelper.cpp:126
Can only read items or subcollection of this collection.
Definition: collection.h:87
Can create new items in this collection.
Definition: collection.h:89
Job that creates a new item in the Akonadi storage.
Definition: itemcreatejob.h:73
Job that copies a collection into another collection in the Akonadi storage.
Definition: collectioncopyjob.h:57
Rights rights() const
Returns the rights the user has on the collection.
Definition: collection.cpp:99
bool canPaste(const QMimeData *mimeData, const Collection &collection)
Check whether the given mime data can be pasted into the given collection.
Definition: pastehelper.cpp:42
Job that moves an item into a different collection in the Akonadi storage.
Definition: itemmovejob.h:48
Base class for jobs that need to run a sequence of sub-jobs in a transaction.
Definition: transactionsequence.h:69
QStringList contentMimeTypes() const
Returns a list of possible content mimetypes, e.g.
Definition: collection.cpp:115
static Collection fromUrl(const KUrl &url)
Creates a collection from the given url.
Definition: collection.cpp:172
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:27 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:27 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.