Commit 4791d900 authored by Laurent Montel's avatar Laurent Montel 😁

Add missing emoticons

parent 5ba144a6
......@@ -55,6 +55,7 @@ void EmoticonUnicodeTab::loadEmoticons()
createPlainTextEmoticonTab(QString(), TextUtils::unicodeSymbolsEmoji());
createPlainTextEmoticonTab(QString(), TextUtils::unicodeFaceEmoji());
createPlainTextEmoticonTab(QString(), TextUtils::unicodeFantasyEmoji());
createPlainTextEmoticonTab(QString(), TextUtils::unicodePlantEmoji());
} else {
createHtmlEmoticonTab();
}
......
......@@ -185,7 +185,8 @@ QList<uint> TextUtils::unicodeFullEmoji()
+TextUtils::unicodeComputerEmoji()
+TextUtils::unicodeSymbolsEmoji()
+TextUtils::unicodeFaceEmoji()
+TextUtils::unicodeFantasyEmoji();
+TextUtils::unicodeFantasyEmoji()
+TextUtils::unicodePlantEmoji();
}
QList<uint> TextUtils::unicodeFacesEmoji()
......@@ -331,3 +332,11 @@ QList<uint> TextUtils::unicodeFantasyEmoji()
const QList<uint> lstEmoji{0x1F47C, 0x1F385, 0x1F936, 0x1F9B8, 0x1F9B9, 0x1F9D9, 0x1F9DA, 0x1F9DB, 0x1F9DC, 0x1F9DD, 0x1F9DE, 0x1F9DF, 0x1F9DE};
return lstEmoji;
}
QList<uint> TextUtils::unicodePlantEmoji()
{
//Add more
const QList<uint> lstEmoji{0x1F490, 0x1F338, 0x1F4AE, 0x1F3F5, 0x1F339, 0x1F940, 0x1F33A, 0x1F33B, 0x1F33C, 0x1F337, 0x1F331, 0x1F332, 0x1F333, 0x1F334,
0x1F335, 0x1F33E, 0x1F33F, 0x2618, 0x1F340, 0x1F341, 0x1F342, 0x1F343};
return lstEmoji;
}
......@@ -75,6 +75,7 @@ KPIMTEXTEDIT_EXPORT Q_REQUIRED_RESULT QList<uint> unicodeComputerEmoji();
KPIMTEXTEDIT_EXPORT Q_REQUIRED_RESULT QList<uint> unicodeSymbolsEmoji();
KPIMTEXTEDIT_EXPORT Q_REQUIRED_RESULT QList<uint> unicodeFaceEmoji();
KPIMTEXTEDIT_EXPORT Q_REQUIRED_RESULT QList<uint> unicodeFantasyEmoji();
KPIMTEXTEDIT_EXPORT Q_REQUIRED_RESULT QList<uint> unicodePlantEmoji();
}
}
......
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