|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kde.koala.KCModuleInfo
public class KCModuleInfo
A class that provides information about a KCModule KCModuleInfo provides various technical information, such as icon, library etc. about a KCModule.n
Constructor Summary | |
---|---|
|
KCModuleInfo()
Same as above but creates an empty KCModuleInfo. |
protected |
KCModuleInfo(java.lang.Class dummy)
|
|
KCModuleInfo(KCModuleInfo rhs)
Same as above but takes a KCModuleInfo as argument. |
|
KCModuleInfo(java.lang.String desktopFile)
Constructs a KCModuleInfo. |
Method Summary | |
---|---|
java.lang.String |
comment()
|
void |
dispose()
Delete the wrapped C++ instance ahead of finalize() |
java.lang.String |
docPath()
|
java.lang.String |
factoryName()
Returns the module's factory name, if it's set. |
java.lang.String |
fileName()
|
protected void |
finalize()
Deletes the wrapped C++ instance |
java.lang.String |
handle()
|
java.lang.String |
icon()
|
boolean |
isDisposed()
Has the wrapped C++ instance been deleted? |
java.util.ArrayList |
keywords()
|
java.lang.String |
library()
|
protected void |
loadAll()
Reads the service entries specific for KCModule from the desktop file. |
java.lang.String |
moduleName()
|
boolean |
needsRootPrivileges()
|
boolean |
needsTest()
|
boolean |
op_equals(KCModuleInfo rhs)
Equal operator |
boolean |
op_not_equals(KCModuleInfo rhs)
|
protected void |
setComment(java.lang.String comment)
Sets the object's name. |
protected void |
setDocPath(java.lang.String p)
Sets the object's documentation path |
protected void |
setHandle(java.lang.String handle)
Sets the factory name |
protected void |
setIcon(java.lang.String icon)
Sets the object's icon. |
protected void |
setKeywords(java.lang.String[] keyword)
Sets the object's keywords. |
protected void |
setLibrary(java.lang.String lib)
Set the object's library |
protected void |
setName(java.lang.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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected KCModuleInfo(java.lang.Class dummy)
public KCModuleInfo(java.lang.String desktopFile)
desktopFile
- the desktop file representing the module, or
the name of the module.public KCModuleInfo(KCModuleInfo rhs)
rhs
- specifies the modulepublic KCModuleInfo()
Method Detail |
---|
public boolean op_equals(KCModuleInfo rhs)
rhs
equals itselfpublic boolean op_not_equals(KCModuleInfo rhs)
rhs
is not equal itselfpublic java.lang.String fileName()
public java.util.ArrayList keywords()
public java.lang.String factoryName()
public java.lang.String moduleName()
public java.lang.String comment()
public java.lang.String icon()
public java.lang.String docPath()
public java.lang.String library()
public java.lang.String handle()
public int weight()
public boolean needsRootPrivileges()
public boolean needsTest()
protected void setKeywords(java.lang.String[] keyword)
keyword
- the new keywordsprotected void setName(java.lang.String name)
name
- the new nameprotected void setComment(java.lang.String comment)
comment
- the new commentprotected void setIcon(java.lang.String icon)
icon
- the name of the new iconprotected void setLibrary(java.lang.String lib)
lib
- the name of the new library without any extensions or prefixs.protected void setHandle(java.lang.String handle)
handle
- The new factory nameprotected void setWeight(int weight)
weight
- the new weightprotected void setNeedsTest(boolean val)
val
- the value to setprotected void setNeedsRootPrivileges(boolean needsRootPrivileges)
needsRootPrivileges
- if module needs root privilgesprotected void setDocPath(java.lang.String p)
p
- the new documentation pathprotected void loadAll()
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 |