Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef CATCHCOPY_H
- #define CATCHCOPY_H
- #include <QObject>
- #include <QStringList>
- #include <QDBusAbstractAdaptor>
- class Catchcopy : public QDBusAbstractAdaptor
- {
- Q_OBJECT
- Q_CLASSINFO("D-Bus Interface", "info.first-world.CatchCopy.DBus")
- Q_CLASSINFO("D-Bus Introspection", ""
- " <interface name=\"info.first-world.CatchCopy.DBus\">\n"
- " <method name=\"copy\"/>\n"
- " <method name=\"move\"/>\n"
- " </interface>\n"
- "")
- public:
- explicit Catchcopy(QObject *parent);
- /*signals:
- void newCopy(quint32 id,QStringList sources,QString destination);
- void newMove(quint32 id,QStringList sources,QString destination);*/
- public Q_SLOTS:
- void copy();
- void move();
- };
- #endif // CATCHCOPY_H
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement