KNewStuff
KNS::Category Class Reference
#include <category.h>
Detailed Description
KNewStuff category.
Definition at line 37 of file category.h.
Public Member Functions | |
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) |
~Category () |
Constructor & Destructor Documentation
Category::Category | ( | ) |
Category::~Category | ( | ) |
Member Function Documentation
KTranslatable Category::description | ( | ) | const |
Retrieve the description of the category.
- Returns:
- category description
Definition at line 67 of file category.cpp.
KUrl Category::icon | ( | ) | const |
Retrieve the icon of the category.
- Returns:
- category icon
Definition at line 77 of file category.cpp.
QString Category::id | ( | ) | const |
Retrieve the unique id of the category.
- Returns:
- category id
Definition at line 47 of file category.cpp.
KTranslatable Category::name | ( | ) | const |
Retrieve the name of the category.
- Returns:
- category name (potentially translated)
Definition at line 57 of file category.cpp.
void Category::setDescription | ( | const KTranslatable & | type | ) |
void Category::setIcon | ( | const KUrl & | icon | ) |
void Category::setId | ( | const QString & | id | ) |
void Category::setName | ( | const KTranslatable & | name | ) |
The documentation for this class was generated from the following files: