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