summary refs log tree commit diff
path: root/src/timeline/InputBar.h
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2020-11-25 17:02:23 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2020-11-25 19:05:12 +0100
commitc74077a41f5e89c0331d682b481408ad22d7ec78 (patch)
treec867da89f8a4d9d61642f72b645337535b0bbee7 /src/timeline/InputBar.h
parentFix enter when no completion available (diff)
downloadnheko-c74077a41f5e89c0331d682b481408ad22d7ec78.tar.xz
Implement Qml drag and drop
Diffstat (limited to 'src/timeline/InputBar.h')
-rw-r--r--src/timeline/InputBar.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/timeline/InputBar.h b/src/timeline/InputBar.h
index 939e8dad..27aa4bc3 100644
--- a/src/timeline/InputBar.h
+++ b/src/timeline/InputBar.h
@@ -9,6 +9,7 @@
 
 class TimelineModel;
 class QMimeData;
+class QDropEvent;
 class QStringList;
 
 class InputBar : public QObject
@@ -36,6 +37,7 @@ public slots:
 
         void send();
         void paste(bool fromMouse);
+        void insertMimeData(const QMimeData *data);
         void updateState(int selectionStart, int selectionEnd, int cursorPosition, QString text);
         void openFileSelection();
         bool uploading() const { return uploading_; }