#include <QtCore/qlocale.h> #ifndef QLOCALE_H class QLocale{ /* Some contents are skipped to improve readability */ public: inline class QString toString(float i, char f = 103, int prec = 6) const /* ... */ }; #endif // QLOCALE_H