class KSycoca

More...

Internal Use Only
Definition#include <ksycoca.h>
InheritsDCOPObject (dcop) [public ], QObject [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Signals

Public Static Methods

Protected Methods

Protected Members


Detailed Description

Read-only SYstem COnfiguration CAche

 KSycoca ( bool )

[protected: ]

Building database

 KSycoca ()

Read-only database

KSycocaself ()

[static]

Get or create the only instance of KSycoca (read-only)

 ~KSycoca ()

[virtual]

QDataStreamfindEntry (int offset, KSycocaType &type)

This is how factories get a stream to an entry

QDataStreamfindFactory ( KSycocaFactoryId id)

QString  kfsstnd_prefixes ()

Q_UINT32  timeStamp ()

The database contains all changes made _before_ this time and _might_ contain changes made after that.

void  addFactory ( KSycocaFactory * )

bool  isBuilding ()

[virtual]

Returns: true if building (i.e. if a KBuildSycoca);

QString  determineRelativePath ( const QString & _fullpath, const char *_resource )

[static]

Determine relative path for a .desktop file from a full path and a resource name

void  notifyDatabaseChanged ()

[k_dcop: ]

internal function for receiving kded/kbuildsycoca's signal, when the sycoca file changes

void  databaseChanged ()

[signal]

Connect to this to get notified when the database changes (Usually apps showing icons do a 'refresh' to take into account the new mimetypes)

bool  checkVersion (bool abortOnError=true)

[protected: ]

bool  openDatabase (bool openDummyIfNotFound=true)

[protected: ]

void  closeDatabase ()

[protected: ]

KSycocaFactoryList * m_lstFactories

[protected: ]

QDataStream * m_str

[protected: ]

static KSycoca * _self

[protected: ]

bool bNoDatabase

[protected: ]

size_t m_sycoca_size

[protected: ]

const char * m_sycoca_mmap

[protected: ]

Q_UINT32 m_timeStamp

[protected: ]


Generated by: marc@yogi on Tue Mar 27 13:07:59 2001, using kdoc 2.0a48.