Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qfreelist.cpp
Go to the documentation of this file.
1// Copyright (C) 2016 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#include "qfreelist_p.h"
5
7
8// default sizes and offsets (no need to define these when customizing)
10enum {
11 Offset0 = 0x00000000,
12 Offset1 = 0x00008000,
13 Offset2 = 0x00080000,
14 Offset3 = 0x00800000,
15
19 Size3 = QFreeListDefaultConstants::MaxIndex - Offset3
20};
21}
22
23Q_CONSTINIT const int QFreeListDefaultConstants::Sizes[QFreeListDefaultConstants::BlockCount] = {
24 QFreeListDefaultConstantsPrivate::Size0,
25 QFreeListDefaultConstantsPrivate::Size1,
26 QFreeListDefaultConstantsPrivate::Size2,
27 QFreeListDefaultConstantsPrivate::Size3
28};
29
30QT_END_NAMESPACE
Combined button and popup list for selecting options.