summaryrefslogtreecommitdiff
path: root/plugins-alternative/Listener/dbus/Catchcopy.h
diff options
context:
space:
mode:
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