class KFilePlugin

#### PyKDE - Python Bindings for KDE

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

Module | kio
Class | KFilePlugin (abstract)
Inherits | QObject

### methods

- KFilePlugin (parent, name, args)

  returns a KFilePlugin instance
  Argument | Type | Default
  --- | --- | ---
  parent | QObject |
  name | char |
  args | QStringList |

- addGroupInfo (info, key, translatedKey)

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

- addItemInfo (gi, key, translatedKey, type)

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

- addMimeTypeInfo (mimeType)

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

- addVariableInfo (gi, type, attr)

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

- appendGroup (info, key)

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

- appendItem (group, key, value)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  group | KFileMetaInfoGroup |
  key | QString |
  value | QVariant |

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

  returns (QValidator)
  Argument | Type | Default
  --- | --- | ---
  mimeType | QString |
  group | QString |
  key | QString |
  parent | QObject |
  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 | QString |

- setSuffix (item, suffix)

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

- setUnit (item, unit)

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

- writeInfo (info)

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