#include <QtCore/qobjectdefs.h> #ifndef QOBJECTDEFS_H struct QMetaObject{ /* Some contents are skipped to improve readability */ public: static bool disconnect(struct QObject const * sender, int signal_index, struct QObject const * receiver, int method_index); /* ... */ }; #endif // QOBJECTDEFS_H