#include <QtCore/qtranslator.h> #ifndef QTRANSLATOR_H #ifndef QT_NO_TRANSLATION class QTranslator: public QObject{ /* Some contents are skipped to improve readability */ public: static inline class QString tr(char const * s, char const * c, int n); /* ... */ }; #endif // QT_NO_TRANSLATION #endif // QTRANSLATOR_H