summaryrefslogtreecommitdiff
path: root/plugins-alternative/Listener/dbus/Catchcopy.h
diff options
context:
space:
mode:
authorThomas Preud'homme <robotux@celest.fr>2018-02-23 23:49:48 +0000
committerThomas Preud'homme <robotux@celest.fr>2018-02-23 23:49:48 +0000
commitbd56579c7d9de94c17287adefa118290e6b7ba33 (patch)
tree666d7d0b6945b442573b7a3145969f66a53aa460 /plugins-alternative/Listener/dbus/Catchcopy.h
parentb3c8bdcc0d1e4b2ab298847a7902b6d60410a5bc (diff)
New upstream version 1.4.0.3
Diffstat (limited to 'plugins-alternative/Listener/dbus/Catchcopy.h')
-rw-r--r--plugins-alternative/Listener/dbus/Catchcopy.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/plugins-alternative/Listener/dbus/Catchcopy.h b/plugins-alternative/Listener/dbus/Catchcopy.h
new file mode 100644
index 0000000..d28a253
--- /dev/null
+++ b/plugins-alternative/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(const quint32 &id,const QStringList &sources,const QString &destination);
+ void newMove(const quint32 &id,const QStringList &sources,const QString &destination);
+public slots:
+ Q_SCRIPTABLE void copy(const QStringList &sources,const QString &destination);
+ Q_SCRIPTABLE void move(const QStringList &sources,const QString &destination);
+};
+
+#endif // CATCHCOPY_H