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