#include <QtCore/qtranslator.h> #ifndef QTRANSLATOR_H #ifndef QT_NO_TRANSLATION class QTranslator: public QObject{ /* Some contents are skipped to improve readability */ public: bool load(uchar const * data, int len); /* ... */ }; #endif // QT_NO_TRANSLATION #endif // QTRANSLATOR_H