KServiceTypeProfileEntry Class Reference
#include <kservicetypeprofile_p.h>
Public Member Functions | |
| KServiceTypeProfileEntry () | |
| void | addService (const QString &service, int preference=1) |
Public Attributes | |
| QMap< QString, int > | m_mapServices |
Detailed Description
Definition at line 28 of file kservicetypeprofile_p.h.
Constructor & Destructor Documentation
| KServiceTypeProfileEntry::KServiceTypeProfileEntry | ( | ) | [inline, explicit] |
Definition at line 31 of file kservicetypeprofile_p.h.
Member Function Documentation
| void KServiceTypeProfileEntry::addService | ( | const QString & | service, |
| int | preference = 1 |
||
| ) | [inline] |
Add a service to this profile.
- Parameters:
-
_service the name of the service _preference the user's preference value, must be positive, bigger is better _allow_as_default true if the service should be used as default
Definition at line 41 of file kservicetypeprofile_p.h.
Member Data Documentation
Map of all services for which we have assessments.
Key: service ID Value: preference
Definition at line 50 of file kservicetypeprofile_p.h.
The documentation for this class was generated from the following file:
KDE 4.6 API Reference