class KFileMetaInfo

#### PyKDE - Python Bindings for KDE

# class KFileMetaInfo |
Table of contents
Modules
tdeio Classes
All Classes

Module | tdeio
Class | KFileMetaInfo
Inherits |

### enums

- What = {Fastest, DontCare, TechnicalInfo, ContentInfo, ExtenedAttr, Thumbnail, Preferred, Everything }

### methods

- KFileMetaInfo (path, mimeType = TQString .null, what = Fastest)

  returns a KFileMetaInfo instance
  Argument | Type | Default
  --- | --- | ---
  path | TQString |
  mimeType | TQString | TQString .null
  what | uint | Fastest

- KFileMetaInfo (url, mimeType = TQString .null, what = Fastest)

  returns a KFileMetaInfo instance
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  url | KURL |
  mimeType | TQString | TQString .null
  what | uint | Fastest

- KFileMetaInfo ()

  returns a KFileMetaInfo instance

- KFileMetaInfo (original)

  returns a KFileMetaInfo instance
  Argument | Type | Default
  --- | --- | ---
  original | KFileMetaInfo |

- addGroup (name)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  name | TQString |

- appendGroup (name)

  returns (KFileMetaInfoGroup)
  Argument | Type | Default
  --- | --- | ---
  name | TQString |

- applyChanges ()

  returns (bool)

- applyChanges (path)

  returns (bool)
  In versions KDE 3.5.3 and above only
  Argument | Type | Default
  --- | --- | ---
  path | TQString |

- contains (key)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  key | TQString |

- containsGroup (key)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  key | TQString |

- deref ()

  returns nothing

- editableGroups ()

  returns (TQStringList)

- group (key)

  returns (KFileMetaInfoGroup)
  Argument | Type | Default
  --- | --- | ---
  key | TQString |

- groups ()

  returns (TQStringList)

- isEmpty ()

  returns (bool)

- isValid ()

  returns (bool)

- item (key)

  returns (KFileMetaInfoItem)
  Argument | Type | Default
  --- | --- | ---
  key | TQString |

- item (hint)

  returns (KFileMetaInfoItem)
  Argument | Type | Default
  --- | --- | ---
  hint | Hint |

- mimeType ()

  returns (TQString)

- path ()

  returns (TQString)

- plugin ()

  returns (KFilePlugin)

- preferredGroups ()

  returns (TQStringList)

- preferredKeys ()

  returns (TQStringList)

- ref ()

  returns nothing

- removeGroup (name)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  name | TQString |

- removedGroups ()

  returns (TQStringList)

- saveItem (key, preferredGroup = TQString .null, createGroup = 1)

  returns (KFileMetaInfoItem)
  Argument | Type | Default
  --- | --- | ---
  key | TQString |
  preferredGroup | TQString | TQString .null
  createGroup | bool | 1

- supportedGroups ()

  returns (TQStringList)

- supportedKeys ()

  returns (TQStringList)

- url ()

  returns (KURL)
  In versions KDE 3.2.0 and above only

- value (key)

  returns (TQVariant)
  Argument | Type | Default
  --- | --- | ---
  key | TQString |

## operators

- operator [] (key)

  returns (KFileMetaInfoGroup),
  In versions KDE 3.1.4 and above only
  Argument | Type | Default
  --- | --- | ---
  key | TQString |