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 | ( | ) | 
Constructor.
Definition at line 30 of file category.cpp.
| Category::~Category | ( | ) | 
Destructor.
Definition at line 35 of file category.cpp.
Member Function Documentation
| KTranslatable Category::description | ( | ) | const | 
Retrieve the description of the category.
- Returns
- category description
Definition at line 65 of file category.cpp.
| KUrl Category::icon | ( | ) | const | 
| QString Category::id | ( | ) | const | 
Retrieve the unique id of the category.
- Returns
- category id
Definition at line 45 of file category.cpp.
| KTranslatable Category::name | ( | ) | const | 
Retrieve the name of the category.
- Returns
- category name (potentially translated)
Definition at line 55 of file category.cpp.
| void Category::setDescription | ( | const KTranslatable & | type | ) | 
Sets the category description.
Definition at line 60 of file category.cpp.
| void Category::setIcon | ( | const KUrl & | icon | ) | 
Sets the icon.
Definition at line 70 of file category.cpp.
| void Category::setId | ( | const QString & | id | ) | 
Sets the unique id for this category.
Definition at line 40 of file category.cpp.
| 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-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:49 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
 KDE API Reference
    KDE API Reference