|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kde.koala.KFileMetaInfoGroup
public class KFileMetaInfoGroup
Constructor Summary | |
---|---|
|
KFileMetaInfoGroup()
Default constructor. |
protected |
KFileMetaInfoGroup(java.lang.Class dummy)
|
|
KFileMetaInfoGroup(KFileMetaInfoGroup original)
Copy constructor |
Method Summary | |
---|---|
KFileMetaInfoItem |
addItem(java.lang.String key)
Add an item to the info. |
protected KFileMetaInfoItem |
appendItem(java.lang.String key,
org.kde.qt.QVariant value)
|
int |
attributes()
Returns the attributes of this item. |
boolean |
contains(java.lang.String key)
Checks whether an item with the given key exists. |
protected void |
deref()
|
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 |
isEmpty()
Returns false if the object contains data, true if it's empty. |
boolean |
isModified()
Returns true if an item as added or removed from the group. |
boolean |
isValid()
Returns true if the item is valid, i.e. |
KFileMetaInfoItem |
item(int hint)
Returns the item with the given hint. |
KFileMetaInfoItem |
item(java.lang.String key)
This method searches for the specified item. |
java.util.ArrayList |
keys()
Returns a list of all keys. |
java.lang.String |
name()
The name of this group. |
KFileMetaInfoItem |
op_at(java.lang.String key)
Operator for convenience. |
java.util.ArrayList |
preferredKeys()
Returns a list of all keys in preference order. |
protected void |
ref()
|
java.util.ArrayList |
removedItems()
Returns a list of all removed items. |
boolean |
removeItem(java.lang.String key)
Remove this item from the meta info of the file. |
protected void |
setAdded()
|
java.util.ArrayList |
supportedKeys()
Use this method to get a list of keys in the specified group that the plugin knows about. |
boolean |
supportsVariableKeys()
Returns true if this group supports adding or removing arbitrary keys, false if not. |
java.lang.String |
translatedName()
The translated name of this group. |
org.kde.qt.QVariant |
value(java.lang.String key)
Convenience function. |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected KFileMetaInfoGroup(java.lang.Class dummy)
public KFileMetaInfoGroup(KFileMetaInfoGroup original)
public KFileMetaInfoGroup()
Method Detail |
---|
public boolean isValid()
public boolean isEmpty()
public boolean isModified()
public KFileMetaInfoItem op_at(java.lang.String key)
public KFileMetaInfoItem item(java.lang.String key)
key
- the key of the item to search
public KFileMetaInfoItem item(int hint)
hint.
hint
- the hint of the item
hint
public org.kde.qt.QVariant value(java.lang.String key)
key
- the key of the item to search
public java.util.ArrayList supportedKeys()
public boolean supportsVariableKeys()
public boolean contains(java.lang.String key)
key
exists.
key
exists.public java.util.ArrayList keys()
public java.util.ArrayList preferredKeys()
public KFileMetaInfoItem addItem(java.lang.String key)
key
is in the supportedKeys list and not yet defined or if
the group supports variable keys.
key
- the key of the item
key
public boolean removeItem(java.lang.String key)
key
- the key of the removed item
public java.util.ArrayList removedItems()
public java.lang.String name()
public java.lang.String translatedName()
public int attributes()
protected void setAdded()
protected KFileMetaInfoItem appendItem(java.lang.String key, org.kde.qt.QVariant value)
protected void ref()
protected void deref()
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 |