#include <QtCore/qshareddata.h> #ifndef QSHAREDDATA_H class QSharedData{ /* Some contents are skipped to improve readability */ public: class QAtomic ref; /* ... */ }; #endif // QSHAREDDATA_H