akonadi
pastehelper_p.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef AKONADI_PASTEHELPER_P_H
00021 #define AKONADI_PASTEHELPER_P_H
00022
00023 #include <akonadi/collection.h>
00024
00025 #include <QtCore/QList>
00026
00027 class KJob;
00028 class QMimeData;
00029
00030 namespace Akonadi {
00031
00032 class Session;
00033
00041 namespace PasteHelper
00042 {
00048 bool canPaste( const QMimeData* mimeData, const Collection &collection );
00049
00057 KJob* paste( const QMimeData* mimeData, const Collection &collection, bool copy = true, Session *session = 0 );
00058
00066 KJob* pasteUriList( const QMimeData* mimeData, const Collection &collection, Qt::DropAction action, Session *session = 0 );
00067 }
00068
00069
00070 }
00071
00072 #endif