|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kde.koala.KServiceOffer
public class KServiceOffer
This class holds the user-specific preferences of a service (whether it can be a default offer or not, how big is the preference for this offer, ...). Basically it is a reference to a KService, a number that represents the user's preference (bigger is better) and a flag whether the KService can be used as default.
KService
Constructor Summary | |
---|---|
|
KServiceOffer()
Create an invalid service offer. |
protected |
KServiceOffer(java.lang.Class dummy)
|
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected KServiceOffer(java.lang.Class dummy)
public KServiceOffer()
public KServiceOffer(KServiceOffer arg1)
Method Detail |
---|
public boolean op_lt(KServiceOffer arg1)
public boolean allowAsDefault()
public int preference()
public boolean isValid()
protected void finalize() throws java.lang.InternalError
finalize
in class java.lang.Object
java.lang.InternalError
public void dispose()
public boolean isDisposed()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |