diff --git a/src/emoticon/emoticonunicodetab.cpp b/src/emoticon/emoticonunicodetab.cpp index 1ac6a46..d5fd08e 100644 --- a/src/emoticon/emoticonunicodetab.cpp +++ b/src/emoticon/emoticonunicodetab.cpp @@ -1,48 +1,53 @@ /* Copyright (c) 2019 Montel Laurent This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #include "emoticonunicodetab.h" #include "emoticonlistwidgetselector.h" #include "textutils.h" #include using namespace KPIMTextEdit; EmoticonUnicodeTab::EmoticonUnicodeTab(QWidget *parent) : QTabWidget(parent) { loadEmoticons(); } EmoticonUnicodeTab::~EmoticonUnicodeTab() { } void EmoticonUnicodeTab::loadEmoticons() { createTab(i18n("Faces"), KPIMTextEdit::TextUtils::unicodeFacesEmoji()); - //TODO add more + createTab(i18n("Animals"), KPIMTextEdit::TextUtils::unicodeAnimalsEmoji()); + createTab(i18n("Emotions"), KPIMTextEdit::TextUtils::unicodeEmotionEmoji()); + createTab(i18n("Body"), KPIMTextEdit::TextUtils::unicodeBodyEmoji()); + createTab(i18n("Transports"), KPIMTextEdit::TextUtils::unicodeTransportEmoji()); + createTab(i18n("Events"), KPIMTextEdit::TextUtils::unicodeEventEmoji()); + createTab(i18n("Flags"), KPIMTextEdit::TextUtils::unicodeFlagsEmoji()); } void EmoticonUnicodeTab::createTab(const QString &str, const QList &emoticons) { EmoticonListWidgetSelector *selector = new EmoticonListWidgetSelector(this); selector->setEmoticons(emoticons); //TODO add i18n ? or icons ? addTab(selector, str); }