TextEmoticonsCore::CustomEmojiIconManager Class

The CustomEmojiIconManager class Author: Laurent Montel <montel@kde.org>. More...

Header: #include <TextEmoticonsCore/CustomEmojiIconManager>
CMake: find_package(KF6TextEmoticonsCore REQUIRED)
target_link_libraries(mytarget PRIVATE KF6::TextEmoticonsCore)
Inherits: QObject

Public Functions

CustomEmojiIconManager(QObject *parent = nullptr)
virtual ~CustomEmojiIconManager() override
virtual QString fileName(const QString &customIdentifier)
virtual QIcon generateIcon(const QString &customIdentifier)

Detailed Description

Member Function Documentation

[explicit] CustomEmojiIconManager::CustomEmojiIconManager(QObject *parent = nullptr)

Constructor for CustomEmojiIconManager parent The parent object

[override virtual noexcept] CustomEmojiIconManager::~CustomEmojiIconManager()

Destructor for CustomEmojiIconManager

[virtual] QString CustomEmojiIconManager::fileName(const QString &customIdentifier)

Returns the file name for a custom emoji customIdentifier The identifier of the custom emoji Returns The file name string

[virtual] QIcon CustomEmojiIconManager::generateIcon(const QString &customIdentifier)

Generates an icon for a custom emoji customIdentifier The identifier of the custom emoji Returns The generated QIcon