TextEmoticonsCore::CustomEmoji Class

The CustomEmoji class Author: Laurent Montel <montel@kde.org>. More...

Header: #include <TextEmoticonsCore/CustomEmoji>
CMake: find_package(KF6TextEmoticonsCore REQUIRED)
target_link_libraries(mytarget PRIVATE KF6::TextEmoticonsCore)

Public Functions

CustomEmoji()
QString category() const
QString fileName() const
QString identifier() const
bool isAnimatedEmoji() const
void setFileName(const QString &newFileName)
void setIdentifier(const QString &newIdentifier)
void setIsAnimatedEmoji(bool newIsAnimatedEmoji)

Detailed Description

Member Function Documentation

CustomEmoji::CustomEmoji()

Constructor for CustomEmoji

QString CustomEmoji::category() const

Returns the category of the custom emoji Returns The category string

QString CustomEmoji::fileName() const

Returns the file name of the emoji Returns The file name string

See also setFileName().

QString CustomEmoji::identifier() const

Returns the identifier of the custom emoji Returns The emoji identifier string

See also setIdentifier().

bool CustomEmoji::isAnimatedEmoji() const

Checks if the emoji is animated Returns True if the emoji is animated, false otherwise

See also setIsAnimatedEmoji().

void CustomEmoji::setFileName(const QString &newFileName)

Sets the file name of the emoji newFileName The file name to set

See also fileName().

void CustomEmoji::setIdentifier(const QString &newIdentifier)

Sets the identifier of the custom emoji newIdentifier The emoji identifier to set

See also identifier().

void CustomEmoji::setIsAnimatedEmoji(bool newIsAnimatedEmoji)

Sets whether the emoji is animated newIsAnimatedEmoji True to mark as animated, false otherwise

See also isAnimatedEmoji().