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
qwasmbase64iconstore.h
Go to the documentation of this file.
1
// Copyright (C) 2018 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
4
#ifndef QWASMBASE64IMAGESTORE_H
5
#define QWASMBASE64IMAGESTORE_H
6
7
#include <string>
8
#include <string_view>
9
10
#include <QtCore/qtconfigmacros.h>
11
12
QT_BEGIN_NAMESPACE
13
class
Base64IconStore
14
{
15
public
:
16
enum class
IconType
{
17
Maximize
,
18
First
=
Maximize
,
19
QtLogo
,
20
Restore
,
21
X
,
22
Size
,
23
};
24
25
Base64IconStore
();
26
~Base64IconStore
();
27
28
static
Base64IconStore
*
get
();
29
30
std::string_view
getIcon
(
IconType
type
)
const
;
31
32
private
:
33
std::string m_storage[
static_cast<
size_t
>
(
IconType::Size
)];
34
};
35
36
QT_END_NAMESPACE
37
#endif
// QWASMBASE64IMAGESTORE_H
Base64IconStore
Definition
qwasmbase64iconstore.h:14
Base64IconStore::getIcon
std::string_view getIcon(IconType type) const
Definition
qwasmbase64iconstore.cpp:35
Base64IconStore::~Base64IconStore
~Base64IconStore()
Base64IconStore::Base64IconStore
Base64IconStore()
Definition
qwasmbase64iconstore.cpp:12
Base64IconStore::IconType
IconType
Definition
qwasmbase64iconstore.h:16
Base64IconStore::IconType::X
@ X
Base64IconStore::IconType::Restore
@ Restore
Base64IconStore::IconType::Size
@ Size
Base64IconStore::IconType::First
@ First
Base64IconStore::IconType::Maximize
@ Maximize
Base64IconStore::IconType::QtLogo
@ QtLogo
Base64IconStore::get
static Base64IconStore * get()
Definition
qwasmbase64iconstore.cpp:30
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
type
GLenum type
Definition
qopengles2ext.h:150
qtbase
src
plugins
platforms
wasm
qwasmbase64iconstore.h
Generated by
1.10.0