KDECore
kservicetypeprofile.cpp
Go to the documentation of this file.
95 //kDebug(7014) << "adding service " << serviceId << " to profile for " << type << " with preference " << pref;
117 KServiceOfferList sortServiceTypeOffers( const KServiceOfferList& list, const QString& servicetype );
120KServiceOfferList KServiceTypeProfile::sortServiceTypeOffers( const KServiceOfferList& list, const QString& serviceType )
138 QMap<QString,int>::ConstIterator it2 = profile->m_mapServices.constFind( servPtr->storageId() );
154 // but it's also the case for any service that's neither App nor ReadOnlyPart, e.g. RenameDlg/Plugin
void addService(const QString &service, int preference=1)
Add a service to this profile.
Definition kservicetypeprofile_p.h:41
Definition ksycocafactory.h:28
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
Returns the offers in the profile for the requested service type.
Definition kservicetypeprofile.cpp:116
KServiceOfferList sortServiceTypeOffers(const KServiceOfferList &list, const QString &servicetype)
Definition kservicetypeprofile.cpp:120
void setConfigurationMode()
This method activates a special mode of KServiceTypeProfile, in which all/all and all/allfiles are ex...
Definition kservicetypeprofile.cpp:233
bool configurationMode()
Definition kservicetypeprofile.cpp:238
void deleteServiceTypeProfile(const QString &serviceType)
Delete the complete profile for a given servicetype, reverting to the default preference order (the o...
Definition kservicetypeprofile.cpp:220
bool hasProfile(const QString &serviceType)
Definition kservicetypeprofile.cpp:171
void writeServiceTypeProfile(const QString &serviceType, const KService::List &services, const KService::List &disabledServices=KService::List())
Write the complete profile for a given servicetype.
Definition kservicetypeprofile.cpp:176
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.