diff options
author | Karsten Heimrich <karsten.heimrich@qt.io> | 2022-02-08 13:40:07 +0100 |
---|---|---|
committer | Karsten Heimrich <karsten.heimrich@qt.io> | 2022-02-09 18:54:37 +0000 |
commit | 4e745ba2da57d920c813f77e0e5d5f80c84ae49c (patch) | |
tree | 8cc376b13e6d342f09821f997ac3c42628891f94 /QtVsTools.Core | |
parent | 64c7eefacff9ed6cc82d81ffd5ab8d5386c450d7 (diff) |
Make property private
Change-Id: I0680fcef9877e2d24a82eb5e9183173837fc3be3
Reviewed-by: Miguel Costa <miguel.costa@qt.io>
Diffstat (limited to 'QtVsTools.Core')
-rw-r--r-- | QtVsTools.Core/QMake.cs | 4 | ||||
-rw-r--r-- | QtVsTools.Core/QtMsBuild.cs | 9 | ||||
-rw-r--r-- | QtVsTools.Core/VersionInformation.cs | 2 | ||||
-rw-r--r-- | QtVsTools.Core/WaitDialog.cs | 4 |
4 files changed, 11 insertions, 8 deletions
diff --git a/QtVsTools.Core/QMake.cs b/QtVsTools.Core/QMake.cs index 6c90811f..910c8063 100644 --- a/QtVsTools.Core/QMake.cs +++ b/QtVsTools.Core/QMake.cs @@ -40,7 +40,7 @@ namespace QtVsTools.Core { public Dictionary<string, string> Vars { get; protected set; } public string OutputFile { get; protected set; } - public uint DebugLevel { get; protected set; } + private uint DebugLevel { get; set; } public string TemplatePrefix { get; protected set; } public bool Recursive { get; protected set; } public string ProFile { get; protected set; } @@ -48,7 +48,7 @@ namespace QtVsTools.Core public bool DisableWarnings { get; set; } protected VersionInformation QtVersion { get; } - protected EnvDTE.DTE Dte { get; } + private EnvDTE.DTE Dte { get; } public QMake(VersionInformation qtVersion, EnvDTE.DTE dte = null) { diff --git a/QtVsTools.Core/QtMsBuild.cs b/QtVsTools.Core/QtMsBuild.cs index ac01f0a0..25d2d898 100644 --- a/QtVsTools.Core/QtMsBuild.cs +++ b/QtVsTools.Core/QtMsBuild.cs @@ -508,7 +508,8 @@ namespace QtVsTools.Core.QtMsBuild #region QtRcc static QtRcc qtRccInstance; - public static QtRcc QtRccInstance + + private static QtRcc QtRccInstance { get { @@ -557,7 +558,8 @@ namespace QtVsTools.Core.QtMsBuild #region QtRepc static QtRepc qtRepcInstance; - public static QtRepc QtRepcInstance + + private static QtRepc QtRepcInstance { get { @@ -606,7 +608,8 @@ namespace QtVsTools.Core.QtMsBuild #region QtUic static QtUic qtUicInstance; - public static QtUic QtUicInstance + + private static QtUic QtUicInstance { get { diff --git a/QtVsTools.Core/VersionInformation.cs b/QtVsTools.Core/VersionInformation.cs index ca5010f6..e5d98519 100644 --- a/QtVsTools.Core/VersionInformation.cs +++ b/QtVsTools.Core/VersionInformation.cs @@ -90,7 +90,7 @@ namespace QtVsTools.Core public string VC_WindowsTargetPlatformMinVersion { get; } public string VC_WindowsTargetPlatformVersion { get; } public string VC_Link_TargetMachine { get; } - public string VC_PlatformToolset { get; } + private string VC_PlatformToolset { get; } private VersionInformation(string qtDirIn) { diff --git a/QtVsTools.Core/WaitDialog.cs b/QtVsTools.Core/WaitDialog.cs index 0eef5bc5..819bdc76 100644 --- a/QtVsTools.Core/WaitDialog.cs +++ b/QtVsTools.Core/WaitDialog.cs @@ -38,9 +38,9 @@ namespace QtVsTools.Core { static IVsThreadedWaitDialogFactory factory = null; - public IVsThreadedWaitDialog2 VsWaitDialog { get; private set; } + private IVsThreadedWaitDialog2 VsWaitDialog { get; set; } - public bool Running { get; private set; } + private bool Running { get; set; } bool? vsDialogCanceled = null; |