summaryrefslogtreecommitdiff
path: root/plugins/Listener/dbus/Catchcopy.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Listener/dbus/Catchcopy.h')
-rw-r--r--plugins/Listener/dbus/Catchcopy.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/plugins/Listener/dbus/Catchcopy.h b/plugins/Listener/dbus/Catchcopy.h
new file mode 100644
index 0000000..6151ebd
--- /dev/null
+++ b/plugins/Listener/dbus/Catchcopy.h
@@ -0,0 +1,20 @@
+#ifndef CATCHCOPY_H
+#define CATCHCOPY_H
+
+#include <QObject>
+#include <QStringList>
+
+class Catchcopy : public QObject
+{
+ Q_OBJECT
+public:
+ explicit Catchcopy();
+signals:
+ void newCopy(quint32 id,QStringList sources,QString destination);
+ void newMove(quint32 id,QStringList sources,QString destination);
+public slots:
+ Q_SCRIPTABLE void copy(QStringList sources,QString destination);
+ Q_SCRIPTABLE void move(QStringList sources,QString destination);
+};
+
+#endif // CATCHCOPY_H