#include <QtCore/qlocale.h> #ifndef QLOCALE_H class QLocale{ /* Some contents are skipped to improve readability */ public: class QString dayName(int, enum QLocale::FormatType format = QLocale::LongFormat) const /* ... */ }; #endif // QLOCALE_H