diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2021-09-17 16:30:47 +0200 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2021-09-21 14:52:43 +0200 |
commit | 080bbb9f8b8af9b31ceabffc2ff04edb316efb02 (patch) | |
tree | 5044dcc6d94cb8ef82efc3ff5e23fd20d60c6bd3 /src/corelib/doc/snippets | |
parent | 3635acd27a41e2e63646c09ece294cdb1a6cbf2f (diff) |
Improve version-related docs in qglobal.cpp
Give a more pragmatic illustration for QT_DEPRECATED_BEFORE.
Make various minor tweaks to wording, use slightly less antique
versions in examples. Make usage of "runtime" standard in qglobal.cpp,
at least, since "run-time" seems to be less used generally.
Change-Id: I1db4950d0d0e97903b1586d98ecba75576493b1c
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/doc/snippets')
-rw-r--r-- | src/corelib/doc/snippets/code/src_gui_dialogs_qmessagebox.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/doc/snippets/code/src_gui_dialogs_qmessagebox.cpp b/src/corelib/doc/snippets/code/src_gui_dialogs_qmessagebox.cpp index 82f916581e..7ec2203e5f 100644 --- a/src/corelib/doc/snippets/code/src_gui_dialogs_qmessagebox.cpp +++ b/src/corelib/doc/snippets/code/src_gui_dialogs_qmessagebox.cpp @@ -1,6 +1,6 @@ /**************************************************************************** ** -** Copyright (C) 2016 The Qt Company Ltd. +** Copyright (C) 2021 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the documentation of the Qt Toolkit. @@ -108,7 +108,7 @@ if (messageBox.clickedButton() == disconnectButton) { int main(int argc, char *argv[]) { - QT_REQUIRE_VERSION(argc, argv, "4.0.2") + QT_REQUIRE_VERSION(argc, argv, "6.1.2") QApplication app(argc, argv); ... |