KTextAddons

customemojiiconmanager.h
1/*
2 SPDX-FileCopyrightText: 2023-2025 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#pragma once
8#include "textemoticonscore_export.h"
9#include <QIcon>
10#include <QObject>
11namespace TextEmoticonsCore
12{
13/**
14 * @brief The CustomEmojiIconManager class
15 * @author Laurent Montel <montel@kde.org>
16 */
17class TEXTEMOTICONSCORE_EXPORT CustomEmojiIconManager : public QObject
18{
20public:
21 explicit CustomEmojiIconManager(QObject *parent = nullptr);
22 ~CustomEmojiIconManager() override;
23 virtual QIcon generateIcon(const QString &customIdentifier);
24 virtual QString fileName(const QString &customIdentifier);
25};
26}
QObject(QObject *parent)
Q_GADGETQ_GADGET
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:49:24 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.