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

KNewStuff

KNS::Category

KNS::Category Class Reference

KNewStuff category. More...

#include <category.h>

List of all members.

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

Detailed Description

KNewStuff category.

Author:
Josef Spillner (spillner@kde.org)

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

Retrieve the icon of the category.

Returns:
category icon

Definition at line 75 of file category.cpp.

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:
  • 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
  • KPty
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.6.1
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