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