# class KSycocaEntry

###

Module | kdecore
Namespace |
Class | KSycocaEntry
Inherits |

Base class for all Sycoca entries.

You can't create an instance of KSycocaEntry, but it provides the common functionality for servicetypes and services.

Internal

See also http://techbase.kde.org/Development/Architecture/KDE3/System_Configuration_Cache

### methods

- KSycocaEntry ( )

  returns ctor

- KSycocaEntry (d)

  returns ctor
  Not implemented

  Argument | Type | Default
  --- | --- | ---
  d | KSycocaEntryPrivate |

- KSycocaEntry (a0)

  returns ctor
  Not implemented

  Argument | Type | Default
  --- | --- | ---
  a0 | KSycocaEntry |

- entryPath ( )

  returns QString

  Returns the path of this entry The path can be absolute or relative. The corresponding factory should know relative to what.

- isDeleted ( )

  returns bool

  Returns true if deleted

- isSeparator ( )

  returns bool

- isType (t)

  returns bool

  Argument | Type | Default
  --- | --- | ---
  t | KSycocaType |

  internal

- isValid ( )

  returns bool

  Returns true if valid

- name ( )

  returns QString

  Returns the name of this entry

- offset ( )

  returns int

  Internal Returns the position of the entry in the sycoca file

- property (name)

  returns QVariant

  Argument | Type | Default
  --- | --- | ---
  name | QString |

  Returns the requested property. Some often used properties have convenience access functions like exec(), serviceTypes etc.

  _name - the name of the property Returns the property, or invalid if not found

- propertyNames ( )

  returns QStringList

  Returns the list of all properties that this service can have. That means, that some of these properties may be empty. Returns the list of supported properties

- read (s, str)

  returns Nothing
  static

  Argument | Type | Default
  --- | --- | ---
  s | QDataStream |
  str | QString |

  Safe demarshalling functions.

- read (s, list)

  returns Nothing
  static

  Argument | Type | Default
  --- | --- | ---
  s | QDataStream |
  list | QStringList |

- save (s)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  s | QDataStream |

  Internal Save ourselves to the database. Don't forget to call the parent class first if you override this function.

- setDeleted (deleted)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  deleted | bool |

  Sets whether or not this service is deleted

- sycocaType ( )

  returns KSycocaType

  internal