TextEmoticonsCore::EmoticonCategory Class

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

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

Public Functions

EmoticonCategory()
QString category() const
const QString &i18nName() const
QString name() const
int order() const
void setCategory(const QString &category)
void setI18nName(const QString &newI18nName)
void setName(const QString &name)
void setOrder(int newOrder)
bool operator<(const TextEmoticonsCore::EmoticonCategory &other) const

Detailed Description

Member Function Documentation

EmoticonCategory::EmoticonCategory()

Constructs an empty EmoticonCategory

QString EmoticonCategory::category() const

Returns the category identifier Returns The category identifier string

See also setCategory().

const QString &EmoticonCategory::i18nName() const

Returns the localized category name Returns The internationalized category name

See also setI18nName().

QString EmoticonCategory::name() const

Returns the category name identifier Returns The category name

See also setName().

int EmoticonCategory::order() const

Returns the display order of the category Returns The order value

See also setOrder().

void EmoticonCategory::setCategory(const QString &category)

Sets the category identifier category The new category identifier

See also category().

void EmoticonCategory::setI18nName(const QString &newI18nName)

Sets the localized category name newI18nName The new internationalized category name

See also i18nName().

void EmoticonCategory::setName(const QString &name)

Sets the category name identifier name The new category name

See also name().

void EmoticonCategory::setOrder(int newOrder)

Sets the display order of the category newOrder The new order value

See also order().

bool EmoticonCategory::operator<(const TextEmoticonsCore::EmoticonCategory &other) const

Compares this category with another for ordering other The other EmoticonCategory to compare with Returns true if this category should be sorted before the other