#include <QtGui/qapplication.h> #ifndef QAPPLICATION_H class QApplication: public QCoreApplication{ /* Some contents are skipped to improve readability */ public: static inline class QString tr(char const * s, char const * c = 0); /* ... */ }; #endif // QAPPLICATION_H