diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2020-07-16 15:17:31 +0200 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2020-07-20 16:06:28 +0200 |
commit | f12132ff23128435d80af9d812e2408cf191d1e8 (patch) | |
tree | 5fc415db66384de264e036f580f5400ec48d0216 /src/corelib/tools/qcommandlineoption.h | |
parent | 555be46527c7e8035410dd38604629272ac83af6 (diff) |
QCommandLineOption: purge deprecated API
Since 5.8: setHidden(), isHidden()
Part of the QCommandLineParser test also used setHidden().
Change-Id: I05a1c63ff3beb1167ed75632c1b71d7fff17f09e
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/corelib/tools/qcommandlineoption.h')
-rw-r--r-- | src/corelib/tools/qcommandlineoption.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/corelib/tools/qcommandlineoption.h b/src/corelib/tools/qcommandlineoption.h index e2ca64acef..6de9a31aea 100644 --- a/src/corelib/tools/qcommandlineoption.h +++ b/src/corelib/tools/qcommandlineoption.h @@ -1,5 +1,6 @@ /**************************************************************************** ** +** Copyright (C) 2020 The Qt Company Ltd. ** Copyright (C) 2013 Laszlo Papp <lpapp@kde.org> ** Contact: https://www.qt.io/licensing/ ** @@ -91,14 +92,6 @@ public: Flags flags() const; void setFlags(Flags aflags); -#if QT_DEPRECATED_SINCE(5, 8) - QT_DEPRECATED_X("Use setFlags() with HiddenFromHelp") - void setHidden(bool hidden); - QT_DEPRECATED_X("Use flags() and HiddenFromHelp") - bool isHidden() const; -#endif - - private: QSharedDataPointer<QCommandLineOptionPrivate> d; }; |