Commit 78122d9c authored by Laurent Montel's avatar Laurent Montel 😁

Add more emoticons

parent cb7acc27
......@@ -57,6 +57,7 @@ void EmoticonUnicodeTab::loadEmoticons()
createPlainTextEmoticonTab(QString(), TextUtils::unicodeFantasyEmoji());
createPlainTextEmoticonTab(QString(), TextUtils::unicodePlantEmoji());
createPlainTextEmoticonTab(QString(), TextUtils::unicodeTravelEmoji());
createPlainTextEmoticonTab(QString(), TextUtils::unicodeBookPaperEmoji());
} else {
createHtmlEmoticonTab();
}
......
......@@ -187,7 +187,8 @@ QList<uint> TextUtils::unicodeFullEmoji()
+TextUtils::unicodeFaceEmoji()
+TextUtils::unicodeFantasyEmoji()
+TextUtils::unicodePlantEmoji()
+TextUtils::unicodeTravelEmoji();
+TextUtils::unicodeTravelEmoji()
+TextUtils::unicodeBookPaperEmoji();
}
QList<uint> TextUtils::unicodeFacesEmoji()
......@@ -290,7 +291,7 @@ 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};
0x1F45B, 0x1F45C, 0x1F45D, 0x1F462, 0x1F451, 0x1F452, 0x1F3A9, 0x1F393, 0x1F9E2, 0x26D1, 0x1F4FF, 0x1F484, 0x1F48D, 0x1F48E};
return lstEmoji;
}
......@@ -352,3 +353,11 @@ QList<uint> TextUtils::unicodeTravelEmoji()
0x1F5FD, 0x26EA, 0x1F54C, 0x1F6D5, 0x1F54D, 0x26E9, 0x1F54B, 0x26F2, 0x26FA, 0x1F301, 0x1F303};
return lstEmoji;
}
QList<uint> TextUtils::unicodeBookPaperEmoji()
{
//Add more
const QList<uint> lstEmoji{0x1F4D4, 0x1F4D5, 0x1F4D6, 0x1F4D7, 0x1F4D8, 0x1F4D9, 0x1F4DA, 0x1F4D3, 0x1F4D2, 0x1F4C3, 0x1F4DC, 0x1F4C4, 0x1F4F0,
0x1F5DE, 0x1F4D1, 0x1F516, 0x1F3F7};
return lstEmoji;
}
......@@ -77,6 +77,7 @@ KPIMTEXTEDIT_EXPORT Q_REQUIRED_RESULT QList<uint> unicodeFaceEmoji();
KPIMTEXTEDIT_EXPORT Q_REQUIRED_RESULT QList<uint> unicodeFantasyEmoji();
KPIMTEXTEDIT_EXPORT Q_REQUIRED_RESULT QList<uint> unicodePlantEmoji();
KPIMTEXTEDIT_EXPORT Q_REQUIRED_RESULT QList<uint> unicodeTravelEmoji();
KPIMTEXTEDIT_EXPORT Q_REQUIRED_RESULT QList<uint> unicodeBookPaperEmoji();
}
}
......
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