From bf980649d2f28266838b7e16e8828a2271d8a69c Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Fri, 27 Jul 2012 15:43:00 +0200 Subject: tr()-Fixes for 2.6. - ProjectExplorer::Profile should appear as 'Target' in the UI. - Fix messagebox title capitalization - Fix Q_DECLARE_TR_FUNCTIONS to contain fully qualified class names, add where applicable to replace QCoreApplication::translate(). - Introduce message utility function for the commonly used 'No tool chain set up for this profile' message to ToolChainProfileInformation. - Introduce message utility functions related to adding files to version control to VcsManager to be shared by QmlJsEditor. - Fix typos. - Remove QObject::tr(), QCoreApplication::tr(). - Do not translate diagnostic console warnings of QmlProfiler. Change-Id: I6cee717a504796ef39f6eae58f552c5c8630adf3 Reviewed-by: Tobias Hunger --- src/plugins/android/androidqtversion.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/plugins/android/androidqtversion.h') diff --git a/src/plugins/android/androidqtversion.h b/src/plugins/android/androidqtversion.h index 81108cfe7e..6dd4df85be 100644 --- a/src/plugins/android/androidqtversion.h +++ b/src/plugins/android/androidqtversion.h @@ -30,13 +30,17 @@ #ifndef ANDROIDQTVERSION_H #define ANDROIDQTVERSION_H + #include +#include + namespace Android { namespace Internal { class AndroidQtVersion : public QtSupport::BaseQtVersion { + Q_DECLARE_TR_FUNCTIONS(Android::Internal::AndroidQtVersion) public: AndroidQtVersion(); AndroidQtVersion(const Utils::FileName &path, bool isAutodetected = false, const QString &autodetectionSource = QString()); -- cgit v1.2.1