class KServiceGroup


Definition#include <kservicegroup.h>
InheritsKSycocaEntry
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Types

Public Methods

Public Static Methods

Protected Methods

Protected Members


Detailed Description

typedef KSharedPtr<KServiceGroup> Ptr

typedef KSharedPtr<KSycocaEntry> SPtr

typedef QValueList<SPtr> List

 KServiceGroup ( const QString & _fullpath, const QString & _relpath )

Construct a service and take all informations from a config file

Parameters:
_fullpathfull path to the config file
_relpathrelative path to the config file

 KServiceGroup ( QDataStream& _str, int offset, bool deep )

The stream must already be positionned at the correct offset

KServiceGroup ()

[virtual]

bool  isValid ()

[const]

Returns: true

Reimplemented from KSycocaEntry.

QString  name ()

[const virtual]

Name used for indexing.

Reimplemented from KSycocaEntry.

QString  relPath ()

[const virtual]

QString  caption ()

[const]

Returns: the caption of this group

QString  icon ()

[const]

Returns: the icon associated with the group.

QString  comment ()

[const]

Returns: the descriptive comment for the group, if there is one.

void  load ( QDataStream& )

[virtual]

Load the service from a stream.

Reimplemented from KSycocaEntry.

void  save ( QDataStream& )

[virtual]

Save the service to a stream.

Reimplemented from KSycocaEntry.

List  entries (bool sorted = false)

[virtual]

List of all Services and ServiceGroups within this ServiceGroup

Ptr  root ()

[static]

Ptr  group (const QString &relPath)

[static]

void  addEntry ( KSycocaEntry *entry)

[protected]

Add a service to this group

QString m_strCaption

[protected]

QString m_strIcon

[protected]

QString m_strComment

[protected]

List m_serviceList

[protected]

bool m_bDeep

[protected]


Generated by: prospector@porky.devel.redhat.com on Thu Aug 24 05:36:06 2000, using kdoc 2.0a36.