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