Quote Originally Posted by VireX View Post
I thought Q_OBJECT is only if i use SLOT/SIGNALs.
Not only those, but also other meta-object system stuff (see Meta-Object System and QMetaObject).
Quote Originally Posted by http://doc.trolltech.com/4.2/qobject.html#Q_OBJECT
The Q_OBJECT macro must appear in the private section of a class definition that declares its own signals and slots or that uses other services provided by Qt's meta-object system.