KNewStuff
#include <category.h>
Public Member Functions | |
Category () | |
~Category () | |
KTranslatable | description () const |
KUrl | icon () const |
QString | id () const |
KTranslatable | name () const |
void | setDescription (const KTranslatable &type) |
void | setIcon (const KUrl &icon) |
void | setId (const QString &id) |
void | setName (const KTranslatable &name) |
Detailed Description
KNewStuff category.
Definition at line 35 of file category.h.
Constructor & Destructor Documentation
◆ Category()
Category::Category | ( | ) |
Constructor.
Definition at line 30 of file category.cpp.
◆ ~Category()
Category::~Category | ( | ) |
Destructor.
Definition at line 35 of file category.cpp.
Member Function Documentation
◆ description()
KTranslatable Category::description | ( | ) | const |
Retrieve the description of the category.
- Returns
- category description
Definition at line 65 of file category.cpp.
◆ icon()
KUrl Category::icon | ( | ) | const |
◆ id()
QString Category::id | ( | ) | const |
Retrieve the unique id of the category.
- Returns
- category id
Definition at line 45 of file category.cpp.
◆ name()
KTranslatable Category::name | ( | ) | const |
Retrieve the name of the category.
- Returns
- category name (potentially translated)
Definition at line 55 of file category.cpp.
◆ setDescription()
void Category::setDescription | ( | const KTranslatable & | type | ) |
Sets the category description.
Definition at line 60 of file category.cpp.
◆ setIcon()
void Category::setIcon | ( | const KUrl & | icon | ) |
Sets the icon.
Definition at line 70 of file category.cpp.
◆ setId()
void Category::setId | ( | const QString & | id | ) |
Sets the unique id for this category.
Definition at line 40 of file category.cpp.
◆ setName()
void Category::setName | ( | const KTranslatable & | name | ) |
Sets the name for this category.
Definition at line 50 of file category.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.