#include <QtCore/qdatetime.h> #ifndef QDATETIME_H class QDate{ /* Some contents are skipped to improve readability */ #ifndef QT_NO_DATESTRING public: class QString toString(enum Qt::DateFormat f = Qt::TextDate) const #endif /* ... */ }; #endif // QDATETIME_H