From efdfa507dd5c534dd775bf817d155a34f9a1e6be Mon Sep 17 00:00:00 2001 From: Hennadii Chernyshchyk Date: Wed, 6 Apr 2022 00:04:31 +0300 Subject: Switch to Doxygen to avoid documentation duplication I also had to fix syntax a little in markdown and the header file. Now checked on CI. --- Windows.md | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'Windows.md') diff --git a/Windows.md b/Windows.md index 13c52da..84abcca 100644 --- a/Windows.md +++ b/Windows.md @@ -1,15 +1,13 @@ -Windows Specific Implementations -================================ +# Windows Specific Implementations -Setting the foreground window ------------------------------ +## Setting the foreground window In the `instanceStarted()` example in the `README` we demonstrated how an application can bring it's primary instance window whenever a second copy of the application is started. On Windows the ability to bring the application windows to the foreground is -restricted, see [`AllowSetForegroundWindow()`][AllowSetForegroundWindow] for more +restricted, see [AllowSetForegroundWindow()][https://msdn.microsoft.com/en-us/library/windows/desktop/ms632668.aspx] for more details. The background process (the primary instance) can bring its windows to the @@ -42,5 +40,3 @@ void App::instanceStarted() { QApplication::setActiveWindow( [window/widget to set to the foreground] ); } ``` - -[AllowSetForegroundWindow]: https://msdn.microsoft.com/en-us/library/windows/desktop/ms632668.aspx -- cgit v1.2.1 From e9fdcaabc6caaaa7f435642474c8325b1b99c2db Mon Sep 17 00:00:00 2001 From: Itay Grudev Date: Wed, 6 Apr 2022 13:28:38 +0300 Subject: Doxygen styling --- Windows.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Windows.md') diff --git a/Windows.md b/Windows.md index 84abcca..1b1548f 100644 --- a/Windows.md +++ b/Windows.md @@ -1,4 +1,4 @@ -# Windows Specific Implementations +# Windows Specifics ## Setting the foreground window -- cgit v1.2.1