KDECore
kservicefactory.cpp
Go to the documentation of this file.
184 kError(7011) << "KServiceFactory: unexpected object entry in KSycoca database (type=" << int(type) << ")";
232 list.append( KServiceOffer( servPtr, initialPreference, mimeTypeInheritanceLevel, servPtr->allowAsDefault() ) );
280bool KServiceFactory::hasOffer( int serviceTypeOffset, int serviceOffersOffset, int testedServiceOffset )
Definition kservicefactory.h:42
KService::List serviceOffers(int serviceTypeOffset, int serviceOffersOffset)
Definition kservicefactory.cpp:245
KServiceOfferList offers(int serviceTypeOffset, int serviceOffersOffset)
Definition kservicefactory.cpp:209
bool hasOffer(int serviceTypeOffset, int serviceOffersOffset, int testedServiceOffset)
Test if a specific service is associated with a specific servicetype.
Definition kservicefactory.cpp:280
virtual KService::Ptr findServiceByDesktopPath(const QString &_name)
Find a service ( by desktop path, e.g.
Definition kservicefactory.cpp:127
virtual KService::Ptr findServiceByMenuId(const QString &_menuId)
Find a service ( by menu id, e.g.
Definition kservicefactory.cpp:154
virtual KService::Ptr findServiceByDesktopName(const QString &_name)
Find a service (by desktop file name, e.g.
Definition kservicefactory.cpp:107
virtual void virtual_hook(int id, void *data)
Virtual hook, used to add new "virtual" functions while maintaining binary compatibility.
Definition kservicefactory.cpp:312
virtual KSycocaEntry * createEntry(const QString &, const char *) const
Construct a KService from a config file.
Definition kservicefactory.h:54
KService::Ptr findServiceByName(const QString &_name)
Find a service (by translated name, e.g.
Definition kservicefactory.cpp:86
Represent a service, like an application or plugin bound to one or several mimetypes (or servicetypes...
Definition kservice.h:59
Definition ksycocadict_p.h:37
int find_string(const QString &key) const
Looks up an entry identified by 'key'.
Definition ksycocadict.cpp:146
Definition ksycocafactory.h:37
virtual KSycocaEntry::List allEntries() const
Get a list of all entries from the database.
Definition ksycocafactory.cpp:183
virtual void virtual_hook(int id, void *data)
Virtual hook, used to add new "virtual" functions while maintaining binary compatibility.
Definition ksycocafactory.cpp:246
static KSycoca * self()
Get or create the only instance of KSycoca (read-only)
Definition ksycoca.cpp:293
Definition kaboutdata.h:33
#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-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.