KTextAddons
7#include "customemoji.h"
8#include "emoticonunicodeutils.h"
10using namespace TextEmoticonsCore;
11CustomEmoji::CustomEmoji() =
default;
13QString CustomEmoji::identifier()
const
18void CustomEmoji::setIdentifier(
const QString &newIdentifier)
20 mIdentifier = newIdentifier;
23QString CustomEmoji::category()
const
25 return EmoticonUnicodeUtils::customIdentifier();
28bool CustomEmoji::isAnimatedEmoji()
const
30 return mIsAnimatedEmoji;
33void CustomEmoji::setIsAnimatedEmoji(
bool newIsAnimatedEmoji)
35 mIsAnimatedEmoji = newIsAnimatedEmoji;
38QString CustomEmoji::fileName()
const
43void CustomEmoji::setFileName(
const QString &newFileName)
45 mFileName = newFileName;
50 d <<
"Identifier " << t.identifier();
51 d <<
"Is animated " << t.isAnimatedEmoji();
52 d <<
"category " << t.category();
56#include "moc_customemoji.cpp"
KTEXTEDITOR_EXPORT QDebug operator<<(QDebug s, const MovingCursor &cursor)
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:49:24 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.