Il 20/06/20 21:31, Alberto Mardegan ha scritto:
Sorry, my wording was imprecise: we want to know if q is a*proper* subclass of QProcess (that is, a derived class).
Note that inherits() / className() will not work as intended if the subclass does not use Q_OBJECT. Only typeid() will tell you the truth in that case. If you don't care about this use case, then ignore this issue :)
HTH, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com KDAB - The Qt, C++ and OpenGL Experts
smime.p7s
Description: Firma crittografica S/MIME
_______________________________________________ Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development