org.kde.koala
public class KServiceOffer extends Object implements QtSupport
See Also: KService
UNKNOWN: Holds the user's preference of a service.
Constructor Summary | |
---|---|
protected | KServiceOffer(Class dummy) |
KServiceOffer()
Create an invalid service offer. | |
KServiceOffer(KServiceOffer arg1)
Copy constructor.
|
Method Summary | |
---|---|
boolean | allowAsDefault()
Is it allowed to use this service for default actions
(e.g. |
void | dispose() Delete the wrapped C++ instance ahead of finalize() |
protected void | finalize() Deletes the wrapped C++ instance |
boolean | isDisposed() Has the wrapped C++ instance been deleted? |
boolean | isValid()
Check whether the entry is valid. |
boolean | op_lt(KServiceOffer arg1)
A service is bigger that the other when it can be default
(and the other is not) and its preference value it higher. |
int | preference()
The bigger this number is, the better is this service. |
UNKNOWN: Create an invalid service offer.
UNKNOWN: Copy constructor.
Returns: true if the service is a allowed as default
UNKNOWN: Is it allowed to use this service for default actions (e.
Returns: true if the service offer is valid
UNKNOWN: Check whether the entry is valid.
UNKNOWN: A service is bigger that the other when it can be default (and the other is not) and its preference value it higher.
Returns: the preference number (negative numbers will be returned by invalid service offers)
UNKNOWN: The bigger this number is, the better is this service.