• Skip to content
  • Skip to link menu
KDE 4.1 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

KNewStuff

KNS::Category

KNS::Category Class Reference

#include <category.h>

List of all members.


Detailed Description

KNewStuff category.

Author:
Josef Spillner (spillner@kde.org)

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 (  ) 

Constructor.

Definition at line 32 of file category.cpp.

Category::~Category (  ) 

Destructor.

Definition at line 37 of file category.cpp.


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  ) 

Sets the category description.

Definition at line 62 of file category.cpp.

void Category::setIcon ( const KUrl &  icon  ) 

Sets the icon.

Definition at line 72 of file category.cpp.

void Category::setId ( const QString &  id  ) 

Sets the unique id for this category.

Definition at line 42 of file category.cpp.

void Category::setName ( const KTranslatable &  name  ) 

Sets the name for this category.

Definition at line 52 of file category.cpp.


The documentation for this class was generated from the following files:
  • category.h
  • category.cpp

KNewStuff

Skip menu "KNewStuff"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • KIO
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal