• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdelibs-4.10.5 API Reference
  • KDE Home
  • Contact Us
 

KNewStuff

  • KNS
  • Category
Public Member Functions
KNS::Category Class Reference

#include <category.h>

List of all members.

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.

Author:
Josef Spillner (spill.nosp@m.ner@.nosp@m.kde.o.nosp@m.rg)

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
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Tue Jul 16 2013 11:49:30 by doxygen 1.8.1.1 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KNewStuff

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

kdelibs-4.10.5 API Reference

Skip menu "kdelibs-4.10.5 API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal