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