#include <QtCore/qshareddata.h> #ifndef QSHAREDDATA_H template < typename T > class QSharedDataPointer{ /* Some contents are skipped to improve readability */ private: void detach_helper(); /* ... */ }; #endif // QSHAREDDATA_H