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