#include <QtCore/qdatetime.h> #ifndef QDATETIME_H class QTime{ /* Some contents are skipped to improve readability */ public: inline QTime(); /* ... */ }; #endif // QDATETIME_H