KTextAddons
emoticontexteditselector.cpp
42 mEmoticonListView->setIsRecentView(category == TextEmoticonsCore::EmoticonUnicodeUtils::recentIdentifier());
93 connect(d->mEmoticonListView, &EmoticonListView::fontSizeChanged, d->mEmoticonListView, &EmoticonListView::setFontSize);
94 connect(d->mEmoticonListView, &EmoticonListView::emojiItemSelected, this, [this](const QString &str, const QString &identifier) {
97 connect(d->mCategoryButtons, &EmoticonCategoryButtons::categorySelected, this, [this](const QString &category) {
103 connect(TextEmoticonsCore::EmojiModelManager::self(), &TextEmoticonsCore::EmojiModelManager::usedIdentifierChanged, this, [this](const QStringList &lst) {
125 TextEmoticonsCore::UnicodeEmoticonManager *emojiManager = TextEmoticonsCore::UnicodeEmoticonManager::self();
126 d->mEmojiProxyModel->setSourceModel(TextEmoticonsCore::EmojiModelManager::self()->emojiModel());
The UnicodeEmoticonManager class.
Definition unicodeemoticonmanager.h:24
The EmoticonTextEditSelector class.
Definition emoticontexteditselector.h:27
bool customEmojiSupport() const
Return whether the custom emoji category is enabled.
Definition emoticontexteditselector.cpp:138
void loadEmoticons()
Do all the magic of creating an TextEmoticonsCore::UnicodeEmoticonManager and loading the categories ...
Definition emoticontexteditselector.cpp:122
void setCustomEmojiSupport(bool b)
Set whether the custom emoji category should be shown.
Definition emoticontexteditselector.cpp:133
void insertEmoji(const QString &character)
This signal is emitted each time the user selects an emoji.
void insertEmojiIdentifier(const QString &identifier)
This signal is emitted each time the user selects an emoji.
QString i18nc(const char *context, const char *text, const TYPE &arg...)
void setFamily(const QString &family)
void setPointSize(int pointSize)
void setText(const QString &)
void textChanged(const QString &text)
Q_EMITQ_EMIT
bool inherits(const char *className) const const
QFuture< ArgsType< Signal > > connect(Sender *sender, Signal signal)
bool close()
QWidget * parentWidget() const const
bool isVisible() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:56:02 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:56:02 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.