A coworker just pointed out something interesting... the documentation
of Q_NAMESPACE is in qobject.cpp, which causes it to be documented under
the documentation for QObject. However, the *definition* comes from
qobjectdefs.h, which is roughly QMetaObject, and indeed it seems like
one should not need all of QObject to use Q_NAMESPACE. Q_ENUM and
Q_ENUM_NS are in the same boat... In fact, so is Q_GADGET and everything
that can be used with Q_GADGET.

Is this intended? Or would it make sense to move the documentation to
QMetaObject?

-- 
Matthew
_______________________________________________
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development

Reply via email to