Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit a9136679 authored by Laurent Montel's avatar Laurent Montel 😁

Add missing emoticons

parent 93fd7319
......@@ -49,6 +49,7 @@ void EmoticonUnicodeTab::loadEmoticons()
createPlainTextEmoticonTab(QString(), TextUtils::unicodeSportEmoji());
createPlainTextEmoticonTab(QString(), TextUtils::unicodeTimeEmoji());
createPlainTextEmoticonTab(QString(), TextUtils::unicodeGameEmoji());
createPlainTextEmoticonTab(QString(), TextUtils::unicodeClothingEmoji());
} else {
createHtmlEmoticonTab();
}
......
......@@ -179,7 +179,8 @@ QList<uint> TextUtils::unicodeFullEmoji()
+TextUtils::unicodeFoodEmoji()
+TextUtils::unicodeSportEmoji()
+TextUtils::unicodeTimeEmoji()
+TextUtils::unicodeGameEmoji();
+TextUtils::unicodeGameEmoji()
+TextUtils::unicodeClothingEmoji();
}
QList<uint> TextUtils::unicodeFacesEmoji()
......@@ -276,3 +277,11 @@ QList<uint> TextUtils::unicodeGameEmoji()
const QList<uint> lstEmoji{0x1F3AF, 0x1F3B1, 0x1F52E, 0x1F9FF, 0x1F3AE, 0x1F579, 0x1F3B0, 0x1F3B2, 0x1F9F8, 0x265F, 0x1F0CF};
return lstEmoji;
}
QList<uint> TextUtils::unicodeClothingEmoji()
{
//Add more
const QList<uint> lstEmoji{0x1F453, 0x1F576, 0x1F97D, 0x1F97C, 0x1F454, 0x1F455, 0x1F456, 0x1F9E3, 0x1F9E4, 0x1F9E5, 0x1F9E6, 0x1F457, 0x1F458, 0x1F459, 0x1F45A,
0x1F45B, 0x1F45C, 0x1F45D};
return lstEmoji;
}
......@@ -69,6 +69,7 @@ KPIMTEXTEDIT_EXPORT Q_REQUIRED_RESULT QList<uint> unicodeFoodEmoji();
KPIMTEXTEDIT_EXPORT Q_REQUIRED_RESULT QList<uint> unicodeSportEmoji();
KPIMTEXTEDIT_EXPORT Q_REQUIRED_RESULT QList<uint> unicodeTimeEmoji();
KPIMTEXTEDIT_EXPORT Q_REQUIRED_RESULT QList<uint> unicodeGameEmoji();
KPIMTEXTEDIT_EXPORT Q_REQUIRED_RESULT QList<uint> unicodeClothingEmoji();
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment