class KFileMetaInfoGroup


Definition#include <kfilemetainfo.h>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Members

Protected Methods

Protected Members


Detailed Description

 KFileMetaInfoGroup ( const QString& name, const KFileMimeTypeInfo* info )

KFileMetaInfoGroup

 KFileMetaInfoGroup ( const KFileMetaInfoGroup& original )

KFileMetaInfoGroup

 KFileMetaInfoGroup ()

KFileMetaInfoGroup

 ~KFileMetaInfoGroup ()

~KFileMetaInfoGroup

const KFileMetaInfoGroup&  operator= (const KFileMetaInfoGroup& info )

operator=

bool  isValid ()

isValid

[const]

bool  isEmpty ()

isEmpty

[const]

KFileMetaInfoItem  operator[] ( const QString& key )

operator[]

[const]

operator for convenience. It does the same as item(), but you cannot specify a group to search in

KFileMetaInfoItem  item ( const QString& key )

item

[const]

This method searches for the specified item.

Returns: the specified item if found, an invalid item, if not

KFileMetaInfoItem  item ( uint hint )

item

[const]

Returns: the item with the specified hint

const QVariant  value ( const QString& key )

value

[const]

Convenience function. Returns the value of the specified key. It does the same as item(key).value()

QStringList  supportedKeys ()

supportedKeys

[const]

bool  supportsVariableKeys ()

supportsVariableKeys

[const]

bool  contains ( const QString& key )

contains

[const]

Returns: whether an item for this key exists.

QStringList  keys ()

keys

[const]

Returns: all keys, but in the order they were inserted.

QStringList  preferredKeys ()

preferredKeys

[const]

KFileMetaInfoItem  addItem ( const QString& key )

addItem

add an item to the info. This is only possible if the specified key is in the supportedKeys list and not yet defined or if the group supports variable keys.

bool  removeItem (const QString& key)

removeItem

remove this item from the meta info of the file. You cannot query KFileMetaInfo for a removed object, but you can query for a list of removed items with removedItems() if you need to. If you re-add it, its value will be cleared

QStringList  removedItems ()

removedItems

QString  name ()

name

[const]

uint  attributes ()

attributes

[const]

void  setAdded ()

setAdded

[protected]

KFileMetaInfoItem  appendItem ( const QString& key, const QVariant& value)

appendItem

[protected]

Data* d

d

[protected]

void  ref ()

ref

[protected]

void  deref ()

deref

[protected]


Generated by: dfaure on faure on Tue Apr 16 08:49:48 2002, using kdoc 2.0a53.