#include <QtCore/qdatetime.h> #ifndef QDATETIME_H class QTime{ /* Some contents are skipped to improve readability */ public: QTime(int h, int m, int s = 0, int ms = 0); /* ... */ }; #endif // QDATETIME_H