Rename the header qtypetraits.h -> qttypetraits.h

Change-Id: I6a487543730678190eb9581d45f3ec12c441756a
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
bb10
Sona Kurazyan 2022-09-22 21:07:24 +02:00 committed by Ivan Solovev
parent 4e35ced932
commit a140912fb6
4 changed files with 7 additions and 7 deletions

View File

@ -83,10 +83,10 @@ qt_internal_add_module(Core
global/qtrace_p.h
global/qtresource.h
global/qttranslation.h
global/qttypetraits.h
global/qtversionchecks.h
global/qtypeinfo.h
global/qtypes.cpp global/qtypes.h
global/qtypetraits.h
global/qvolatile_p.h
global/q20algorithm.h
global/q20functional.h

View File

@ -102,7 +102,7 @@ QT_END_NAMESPACE
#include <QtCore/qtenvironmentvariables.h>
#include <QtCore/qtresource.h>
#include <QtCore/qttranslation.h>
#include <QtCore/qtypetraits.h>
#include <QtCore/qttypetraits.h>
#include <QtCore/qversiontagging.h>
#endif /* __cplusplus */

View File

@ -1,15 +1,15 @@
// Copyright (C) 2022 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
#ifndef QTYPETRAITS_H
#define QTYPETRAITS_H
#ifndef QTTYPETRAITS_H
#define QTTYPETRAITS_H
#include <QtCore/qtconfigmacros.h>
#include <type_traits>
#if 0
#pragma qt_class(QTypeTraits)
#pragma qt_class(QtTypeTraits)
#pragma qt_sync_stop_processing
#endif
@ -24,4 +24,4 @@ constexpr std::underlying_type_t<Enum> qToUnderlying(Enum e) noexcept
QT_END_NAMESPACE
#endif // QTYPETRAITS_H
#endif // QTTYPETRAITS_H

View File

@ -3,7 +3,7 @@
/*!
\fn template <typename Enum> std::underlying_type_t<Enum> qToUnderlying(Enum e)
\relates <QTypeTraits>
\relates <QtTypeTraits>
\since 6.2
Converts the enumerator \a e to the equivalent value expressed in its