#include <QtCore/qdatetime.h> #ifndef QDATETIME_H class QDate{ /* Some contents are skipped to improve readability */ public: static bool isLeapYear(int year); /* ... */ }; #endif // QDATETIME_H