Advertisement
Guest User

Untitled

a guest
Jul 19th, 2012
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.72 KB | None | 0 0
  1. #ifndef CATCHCOPY_H
  2. #define CATCHCOPY_H
  3.  
  4. #include <QObject>
  5. #include <QStringList>
  6. #include <QDBusAbstractAdaptor>
  7.  
  8. class Catchcopy : public QDBusAbstractAdaptor
  9. {
  10.     Q_OBJECT
  11.     Q_CLASSINFO("D-Bus Interface", "info.first-world.CatchCopy.DBus")
  12.     Q_CLASSINFO("D-Bus Introspection", ""
  13.     "  <interface name=\"info.first-world.CatchCopy.DBus\">\n"
  14.     "    <method name=\"copy\"/>\n"
  15.     "    <method name=\"move\"/>\n"
  16.     "  </interface>\n"
  17.         "")
  18. public:
  19.     explicit Catchcopy(QObject *parent);
  20. /*signals:
  21.     void newCopy(quint32 id,QStringList sources,QString destination);
  22.     void newMove(quint32 id,QStringList sources,QString destination);*/
  23. public Q_SLOTS:
  24.     void copy();
  25.     void move();
  26. };
  27.  
  28. #endif // CATCHCOPY_H
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement