#### PyKDE - Python Bindings for KDE

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

Module | tdeio
Class | KMimeMagic
Inherits |

### methods

- KMimeMagic ()

  returns a KMimeMagic instance
  In versions KDE 3.1.0 and above only

- KMimeMagic (configFile)

  returns a KMimeMagic instance
  Argument | Type | Default
  --- | --- | ---
  configFile | TQString |

- findBufferFileType (a0, filename)

  returns (KMimeMagicResult)
  Argument | Type | Default
  --- | --- | ---
  a0 | TQByteArray |
  filename | TQString |

- findBufferType (p)

  returns (KMimeMagicResult)
  Argument | Type | Default
  --- | --- | ---
  p | TQByteArray |

- findFileType (_filename)

  returns (KMimeMagicResult)
  Argument | Type | Default
  --- | --- | ---
  _filename | TQString |

- initStatic ()

  returns nothing
  static

- mergeConfig (configFile)

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

- self ()

  returns (KMimeMagic)
  static

- setFollowLinks (_enable)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  _enable | bool |