Back to index

kdeartwork  4.3.2
Public Member Functions | Protected Attributes
KXSConfigItem Class Reference

#include <kxsitem.h>

Inheritance diagram for KXSConfigItem:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 KXSConfigItem (const QString &name, KConfig &config)
 KXSConfigItem (const QString &name, const QXmlAttributes &attr)
virtual ~KXSConfigItem ()
virtual QString command ()=0
virtual void save (KConfig &config)=0
virtual void read (KConfig &config)=0

Protected Attributes

QString mName
QString mLabel

Detailed Description

Definition at line 30 of file kxsitem.h.


Constructor & Destructor Documentation

KXSConfigItem::KXSConfigItem ( const QString &  name,
KConfig &  config 
)

Definition at line 27 of file kxsitem.cpp.

  : mName(name)
{
  KConfigGroup grp = config.group(name);
  mLabel = i18n(grp.readEntry("Label").toUtf8());
}
KXSConfigItem::KXSConfigItem ( const QString &  name,
const QXmlAttributes &  attr 
)

Definition at line 34 of file kxsitem.cpp.

  : mName(name)
{
  mLabel = attr.value("_label");
}
virtual KXSConfigItem::~KXSConfigItem ( ) [inline, virtual]

Definition at line 35 of file kxsitem.h.

{}

Member Function Documentation

virtual QString KXSConfigItem::command ( ) [pure virtual]
virtual void KXSConfigItem::read ( KConfig &  config) [pure virtual]
virtual void KXSConfigItem::save ( KConfig &  config) [pure virtual]

Member Data Documentation

QString KXSConfigItem::mLabel [protected]

Definition at line 43 of file kxsitem.h.

QString KXSConfigItem::mName [protected]

Definition at line 42 of file kxsitem.h.


The documentation for this class was generated from the following files: