From c245a642f24ce243fe5e39929f158c577d3c1cf1 Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Fri, 29 Jan 2021 10:01:03 +0100 Subject: Share "auto-detected" UI string and add tool tip No need to have the same translatable string repeated at all these places. Also add tooltip to expand a bit on what "auto-detected" actually means. Task-number: QTCREATORBUG-25291 Change-Id: I25d43486758ba17256cf7e1ea2eea0ec3d567b62 Reviewed-by: Leena Miettinen Reviewed-by: Christian Kandeler --- src/plugins/projectexplorer/projectexplorerconstants.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/plugins/projectexplorer/projectexplorerconstants.h') diff --git a/src/plugins/projectexplorer/projectexplorerconstants.h b/src/plugins/projectexplorer/projectexplorerconstants.h index b91632e9b8..5bc3a8da3f 100644 --- a/src/plugins/projectexplorer/projectexplorerconstants.h +++ b/src/plugins/projectexplorer/projectexplorerconstants.h @@ -25,7 +25,7 @@ #pragma once -#include +#include "projectexplorer_export.h" namespace ProjectExplorer { namespace Constants { @@ -230,5 +230,10 @@ const char PROJECT_ROOT_PATH_KEY[] = "ProjectExplorer.Project.RootPath"; const char STARTUPSESSION_KEY[] = "ProjectExplorer/SessionToRestore"; const char LASTSESSION_KEY[] = "ProjectExplorer/StartupSession"; +// UI texts +PROJECTEXPLORER_EXPORT QString msgAutoDetected(); +PROJECTEXPLORER_EXPORT QString msgAutoDetectedToolTip(); +PROJECTEXPLORER_EXPORT QString msgManual(); + } // namespace Constants } // namespace ProjectExplorer -- cgit v1.2.3