#include <QtCore/qglobal.h> #ifndef QGLOBAL_H #if defined(__cplusplus) #define Q_DECLARE_SHARED(TYPE) template <> inline bool qIsDetached<TYPE>(TYPE &t) { return t.isDetached(); } #endif /* __cplusplus */ #endif /* QGLOBAL_H */