Qt
6.x
The Qt SDK
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_view>
8
9
#include <QtCore/qtconfigmacros.h>
10
11
QT_BEGIN_NAMESPACE
12
class
Base64IconStore
13
{
14
public
:
15
enum class
IconType
{
16
Maximize
,
17
First
=
Maximize
,
18
QtLogo
,
19
Restore
,
20
X
,
21
Size
,
22
};
23
24
Base64IconStore
();
25
~Base64IconStore
();
26
27
static
Base64IconStore
*
get
();
28
29
std::string_view
getIcon
(
IconType
type
)
const
;
30
31
private
:
32
std::string m_storage[
static_cast<
size_t
>
(
IconType::Size
)];
33
};
34
35
QT_END_NAMESPACE
36
#endif
// QWASMBASE64IMAGESTORE_H
Base64IconStore
Definition
qwasmbase64iconstore.h:13
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:15
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:1545
type
GLenum type
Definition
qopengles2ext.h:150
qtbase
src
plugins
platforms
wasm
qwasmbase64iconstore.h
Generated by
1.9.7