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