cornelius / libkode

C++ code generation library
8 stars 11 forks source link

Add method to explicitly generate Q_OBJECT macro #47

Closed martonmiklos closed 2 years ago

martonmiklos commented 2 years ago

Hello @dfaure-kdab

I needed to generate some classes inherited from QObject, but having no slots/signals. With this patch the Q_OBJECT macro adding could be explicitly specified.