1 2 3 4 5 6 7 8 9 10 11 12 13 14
#ifndef OBJECT_HPP #define OBJECT_HPP #include <QObject> class Object : public QObject { Q_OBJECT public: Q_SLOT void aSlot(){}; }; #endif