~ken-vandine/content-hub/drag_and_drop

« back to all changes in this revision

Viewing changes to include/com/ubuntu/content/hub.h

  • Committer: Ken VanDine
  • Date: 2017-03-31 14:58:22 UTC
  • Revision ID: ken.vandine@canonical.com-20170331145822-vdvallrlffipg6zd
Added drag and drop APIs

Show diffs side-by-side

added added

removed removed

Lines of Context:
79
79
 
80
80
    ///
81
81
    // Copy & Paste
82
 
 
83
82
    QDBusPendingCall createPaste(const QString &surfaceId, const QMimeData& data);
84
 
 
85
83
    QDBusPendingCall requestLatestPaste(const QString &surfaceId);
86
84
    QDBusPendingCall requestPasteById(const QString &surfaceId, int pasteId);
87
85
    QMimeData* paste(QDBusPendingCall requestPeply);
91
89
    QMimeData* latestPaste(const QString &surfaceId);
92
90
    QMimeData* pasteById(const QString &surfaceId, int id);
93
91
 
 
92
    // Drag & Drop
 
93
    QDBusPendingCall createDrop(const QString &surfaceId, const QMimeData& mimeData);
 
94
    QDBusPendingCall requestDrop(const QString &surfaceId);
 
95
 
94
96
    QStringList pasteFormats();
95
97
 
96
98
  Q_SIGNALS: