Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qeglfskmshelpers_p.h
Go to the documentation of this file.
1// Copyright (C) 2017 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QEGLFSKMSHELPERS_H
5#define QEGLFSKMSHELPERS_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <QString>
19
21
23{
24 QString s;
25 s.reserve(4);
26 s.append(code & 0xff);
27 s.append((code >> 8) & 0xff);
28 s.append((code >> 16) & 0xff);
29 s.append((code >> 24) & 0xff);
30 return s;
31}
32
34
35#endif // QEGLFSKMSHELPERS_H
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
void reserve(qsizetype size)
Ensures the string has space for at least size characters.
Definition qstring.h:1325
Combined button and popup list for selecting options.
QT_BEGIN_NAMESPACE QString q_fourccToString(uint code)
GLdouble s
[6]
Definition qopenglext.h:235
unsigned int uint
Definition qtypes.h:34