Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
Base64IconStore Class Reference

#include <qwasmbase64iconstore.h>

+ Collaboration diagram for Base64IconStore:

Public Types

enum class  IconType {
  Maximize , First = Maximize , QtLogo , Restore ,
  X , Size
}
 

Public Member Functions

 Base64IconStore ()
 
 ~Base64IconStore ()
 
std::string_view getIcon (IconType type) const
 

Static Public Member Functions

static Base64IconStoreget ()
 

Detailed Description

Definition at line 12 of file qwasmbase64iconstore.h.

Member Enumeration Documentation

◆ IconType

enum class Base64IconStore::IconType
strong
Enumerator
Maximize 
First 
QtLogo 
Restore 
Size 

Definition at line 15 of file qwasmbase64iconstore.h.

Constructor & Destructor Documentation

◆ Base64IconStore()

Base64IconStore::Base64IconStore ( )

Definition at line 12 of file qwasmbase64iconstore.cpp.

References First, QFile::open(), Q_ASSERT, QStringLiteral, QIODevice::readAll(), QIODeviceBase::ReadOnly, Size, and QByteArray::toBase64().

+ Here is the call graph for this function:

◆ ~Base64IconStore()

Base64IconStore::~Base64IconStore ( )
default

Member Function Documentation

◆ get()

Base64IconStore * Base64IconStore::get ( )
static

Definition at line 30 of file qwasmbase64iconstore.cpp.

Referenced by TitleBar::TitleBar(), and QWasmWindow::setWindowIcon().

+ Here is the caller graph for this function:

◆ getIcon()

std::string_view Base64IconStore::getIcon ( IconType  type) const

Definition at line 35 of file qwasmbase64iconstore.cpp.


The documentation for this class was generated from the following files: