1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#ifndef OBJECT2ALIASED_HPP #define OBJECT2ALIASED_HPP #include "CustomMacros.hpp" // Test Qt object macro hidden in a macro (AUTOMOC_MACRO_NAMES) class Object2Aliased : public QObject { QO2_ALIAS public: Object2Aliased(); signals: void aSignal(); public slots: void aSlot(); }; #endif