class KFilePlugin

#### PyKDE - Python Bindings for KDE

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

Module | tdeio
Class | KFilePlugin (abstract)
Inherits | TQObject

### methods

- KFilePlugin (parent, name, args)

  returns a KFilePlugin instance
  Argument | Type | Default
  --- | --- | ---
  parent | TQObject |
  name | char |
  args | TQStringList |

- addGroupInfo (info, key, translatedKey)

  returns (KFileMimeTypeInfo.GroupInfo)
  Argument | Type | Default
  --- | --- | ---
  info | KFileMimeTypeInfo |
  key | TQString |
  translatedKey | TQString |

- addItemInfo (gi, key, translatedKey, type)

  returns (KFileMimeTypeInfo.ItemInfo)
  Argument | Type | Default
  --- | --- | ---
  gi | KFileMimeTypeInfo.GroupInfo |
  key | TQString |
  translatedKey | TQString |
  type | TQVariant.Type |

- addMimeTypeInfo (mimeType)

  returns (KFileMimeTypeInfo)
  Argument | Type | Default
  --- | --- | ---
  mimeType | TQString |

- addVariableInfo (gi, type, attr)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  gi | KFileMimeTypeInfo.GroupInfo |
  type | TQVariant.Type |
  attr | uint |

- appendGroup (info, key)

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

- appendItem (group, key, value)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  group | KFileMetaInfoGroup |
  key | TQString |
  value | TQVariant |

- createValidator (mimeType, group, key, parent, name)

  returns (TQValidator)
  Argument | Type | Default
  --- | --- | ---
  mimeType | TQString |
  group | TQString |
  key | TQString |
  parent | TQObject |
  name | char |

- readInfo (info, what = KFileMetaInfo .Fastest) = 0

  returns (bool)
  pure virtual
  Argument | Type | Default
  --- | --- | ---
  info | KFileMetaInfo |
  what | uint | KFileMetaInfo .Fastest

- setAttributes (gi, attr)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  gi | KFileMimeTypeInfo.GroupInfo |
  attr | uint |

- setAttributes (item, attr)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  item | KFileMimeTypeInfo.ItemInfo |
  attr | uint |

- setHint (item, hint)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  item | KFileMimeTypeInfo.ItemInfo |
  hint | uint |

- setPrefix (item, prefix)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  item | KFileMimeTypeInfo.ItemInfo |
  prefix | TQString |

- setSuffix (item, suffix)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  item | KFileMimeTypeInfo.ItemInfo |
  suffix | TQString |

- setUnit (item, unit)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  item | KFileMimeTypeInfo.ItemInfo |
  unit | uint |

- writeInfo (info)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  info | KFileMetaInfo |