File indexing completed on 2024-12-22 04:28:16
0001 /* 0002 SPDX-FileCopyrightText: 2023-2024 Laurent Montel <montel.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 #include "textemoticonscore_export.h" 0009 #include <QIcon> 0010 #include <QObject> 0011 namespace TextEmoticonsCore 0012 { 0013 /** 0014 * @brief The CustomEmojiIconManager class 0015 * @author Laurent Montel <montel@kde.org> 0016 */ 0017 class TEXTEMOTICONSCORE_EXPORT CustomEmojiIconManager : public QObject 0018 { 0019 Q_GADGET 0020 public: 0021 explicit CustomEmojiIconManager(QObject *parent = nullptr); 0022 virtual ~CustomEmojiIconManager(); 0023 virtual QIcon generateIcon(const QString &customIdentifier); 0024 virtual QString fileName(const QString &customIdentifier); 0025 }; 0026 }