KDECore
kmimetypefactory.cpp
Go to the documentation of this file.
91 kError(7011) << "KMimeTypeFactory: unexpected object entry in KSycoca database (type=" << int(type) << ")";
MimeTypeEntry(const QString &file, const QString &name)
Definition kmimetypefactory.cpp:144
void setServiceOffersOffset(int off)
Definition kmimetypefactory.cpp:160
int serviceOffersOffset() const
Definition kmimetypefactory.cpp:154
int entryOffset(const QString &mimeTypeName)
Returns the possible offset for a given mimetype entry.
Definition kmimetypefactory.cpp:46
int serviceOffersOffset(const QString &mimeTypeName)
Returns the offset into the service offers for a given mimetype.
Definition kmimetypefactory.cpp:55
virtual KSycocaEntry * createEntry(const QString &, const char *) const
Not meant to be called at this level.
Definition kmimetypefactory.h:53
int find_string(const QString &key) const
Looks up an entry identified by 'key'.
Definition ksycocadict.cpp:146
Definition ksycocaentry_p.h:30
virtual QString name() const =0
KSycocaEntryPrivate(const QString &path_)
Definition ksycocaentry_p.h:32
Template for making it easier to define a threadsafe singleton for each factory, with support for kbu...
Definition ksycocafactory.h:177
virtual KSycocaEntry::List allEntries() const
Get a list of all entries from the database.
Definition ksycocafactory.cpp:183
KSycocaFactory(KSycocaFactoryId factory_id)
Create a factory which can be used to lookup from/create a database (depending on KSycoca::isBuilding...
Definition ksycocafactory.cpp:50
static KSycoca * self()
Get or create the only instance of KSycoca (read-only)
Definition ksycoca.cpp:293
#define K_GLOBAL_STATIC(TYPE, NAME)
This macro makes it easy to use non-POD types as global statics.
Definition kglobal.h:221
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.14.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.14.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.