KTextAddons

emoticonunicodeutils.cpp
1/*
2 SPDX-FileCopyrightText: 2019-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#include "emoticonunicodeutils.h"
8using namespace TextEmoticonsCore;
9QString EmoticonUnicodeUtils::emojiFontName()
10{
11#ifdef Q_OS_WIN
12 return QStringLiteral("Segoe UI Emoji");
13#else
14 return QStringLiteral("NotoColorEmoji");
15#endif
16}
17
18QString EmoticonUnicodeUtils::recentIdentifier()
19{
20 return QStringLiteral("recents");
21}
22
23QString EmoticonUnicodeUtils::customIdentifier()
24{
25 return QStringLiteral("customs");
26}
27
28QString EmoticonUnicodeUtils::recentName()
29{
30 return QStringLiteral("⌛️");
31}
32
33QString EmoticonUnicodeUtils::customName()
34{
35 return QStringLiteral("🖼️");
36}
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:29:59 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.