#include <QtCore/qlocale.h> #ifndef QLOCALE_H class QLocale{ /* Some contents are skipped to improve readability */ public: enum FormatType{ LongFormat = 0, ShortFormat = 1, }; /* ... */ }; #endif // QLOCALE_H