org.kde.koala
public class KCModuleInfo extends Object implements QtSupport
UNKNOWN: Any values set with the set functions is not written back with KCModuleInfo it only reads value from the desktop file. A class that provides information about a KCModule
Constructor Summary | |
---|---|
protected | KCModuleInfo(Class dummy) |
KCModuleInfo(String desktopFile)
Constructs a KCModuleInfo. | |
KCModuleInfo(KCModuleInfo rhs)
Same as above but takes a KCModuleInfo as argument. | |
KCModuleInfo()
Same as above but creates an empty KCModuleInfo.
|
Method Summary | |
---|---|
String | comment() |
void | dispose() Delete the wrapped C++ instance ahead of finalize() |
String | docPath() |
String | factoryName()
Returns the module's factory name, if it's set. |
String | fileName() |
protected void | finalize() Deletes the wrapped C++ instance |
String | handle() |
String | icon() |
boolean | isDisposed() Has the wrapped C++ instance been deleted? |
ArrayList | keywords() |
String | library() |
protected void | loadAll()
Reads the service entries specific for KCModule from the desktop file.
|
String | moduleName() |
boolean | needsRootPrivileges() |
boolean | needsTest() |
boolean | op_equals(KCModuleInfo rhs)
Equal operator |
boolean | op_not_equals(KCModuleInfo rhs) |
protected void | setComment(String comment)
Sets the object's name. |
protected void | setDocPath(String p)
Sets the object's documentation path |
protected void | setHandle(String handle)
Sets the factory name |
protected void | setIcon(String icon)
Sets the object's icon. |
protected void | setKeywords(String[] keyword)
Sets the object's keywords. |
protected void | setLibrary(String lib)
Set the object's library |
protected void | setName(String name)
Sets the object's name. |
protected void | setNeedsRootPrivileges(boolean needsRootPrivileges)
Toggles whether the represented module needs root privileges.
|
protected void | setNeedsTest(boolean val)
Sets if the module should be tested for loading. |
protected void | setWeight(int weight)
Sets the object's weight property which determines in what
order modules will be displayed. |
int | weight() |
Parameters: desktopFile the desktop file representing the module, or the name of the module.
UNKNOWN: a KCModuleInfo object will have to be manually deleted, it is not done automatically for you. Constructs a KCModuleInfo.
Parameters: rhs specifies the module
UNKNOWN: Same as above but takes a KCModuleInfo as argument.
UNKNOWN: Same as above but creates an empty KCModuleInfo.
Returns: the module's (translated) comment field
UNKNOWN:
Returns: the path of the module's documentation
UNKNOWN:
Returns: the module's factory name
UNKNOWN: Returns the module's factory name, if it's set.
Returns: the filename of the .desktop file that describes the KCM
UNKNOWN:
Returns: a handle (usually the contents of the FactoryName field)
UNKNOWN:
Returns: the module's icon name
UNKNOWN:
Returns: the keywords associated with this KCM.
UNKNOWN:
Returns: the library name
UNKNOWN:
UNKNOWN: Reads the service entries specific for KCModule from the desktop file.
Returns: the module\'s (translated) name
UNKNOWN:
Returns: whether the module might require root permissions
UNKNOWN:
Returns: true if the module should be conditionally loaded.
UNKNOWN:
Returns: true if rhs
equals itself
UNKNOWN: Equal operator
Returns: true if rhs
is not equal itself
UNKNOWN:
Parameters: comment the new comment
UNKNOWN: Sets the object's name.
Parameters: p the new documentation path
UNKNOWN: Sets the object's documentation path
Parameters: handle The new factory name
UNKNOWN: Sets the factory name
Parameters: icon the name of the new icon
UNKNOWN: Sets the object's icon.
Parameters: keyword the new keywords
UNKNOWN: Sets the object's keywords.
Parameters: lib the name of the new library without any extensions or prefixs.
UNKNOWN: Set the object's library
Parameters: name the new name
UNKNOWN: Sets the object's name.
Parameters: needsRootPrivileges if module needs root privilges
UNKNOWN: Toggles whether the represented module needs root privileges.
Parameters: val the value to set
UNKNOWN: Sets if the module should be tested for loading.
Parameters: weight the new weight
UNKNOWN: Sets the object's weight property which determines in what order modules will be displayed.
Returns: the weight of the module which determines the order of the pages in the KCMultiDialog. It's set by the X-KDE-Weight field.
UNKNOWN: