#include <QtCore/qpointer.h> #ifndef QPOINTER_H template < typename T > class QPointer{ /* Some contents are skipped to improve readability */ public: inline bool isNull() const /* ... */ }; #endif // QPOINTER_H