#### PyKDE - Python Bindings for KDE

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

Module | tdeio
Class | KFilterDev
Inherits | TQIODevice

### methods

- KFilterDev (filter, autoDeleteFilterBase)

  returns a KFilterDev instance
  Argument | Type | Default
  --- | --- | ---
  filter | KFilterBase |
  autoDeleteFilterBase | bool |

- at ()

  returns (TQIODevice.Offset)

- at (a0)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  a0 | TQIODevice.Offset |

- atEnd ()

  returns (bool)

- close ()

  returns nothing

- createFilterDevice (base, file)

  returns (TQIODevice)
  static
  Argument | Type | Default
  --- | --- | ---
  base | KFilterBase |
  file | TQFile |

- device (inDevice, mimetype)

  returns (TQIODevice)
  static
  Argument | Type | Default
  --- | --- | ---
  inDevice | TQIODevice |
  mimetype | TQString |

- device (inDevice, mimetype, autoDeleteInDevice)

  returns (TQIODevice)
  In versions KDE 3.1.0 and above only
  static
  Argument | Type | Default
  --- | --- | ---
  inDevice | TQIODevice |
  mimetype | TQString |
  autoDeleteInDevice | bool |

- deviceForFile (fileName, mimetype = TQString .null, forceFilter = 0)

  returns (TQIODevice)
  static
  Argument | Type | Default
  --- | --- | ---
  fileName | TQString |
  mimetype | TQString | TQString .null
  forceFilter | bool | 0

- flush ()

  returns nothing

- getch ()

  returns (int)

- open (mode)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  mode | int |

- putch (a0)

  returns (int)
  Argument | Type | Default
  --- | --- | ---
  a0 | int |

- readBlock (data, maxlen)

  Not Implemented

- setOrigFileName (fileName)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  fileName | TQCString |

- setSkipHeaders ()

  returns nothing
  In versions KDE 3.1.0 and above only

- size ()

  returns (TQIODevice.Offset)

- ungetch (a0)

  returns (int)
  Argument | Type | Default
  --- | --- | ---
  a0 | int |

- writeBlock (data, len)

  Not Implemented

- writeBlock (a0, a1)

  returns (long)
  In versions less than KDE 3.2.2 only
  Argument | Type | Default
  --- | --- | ---
  a0 | char |
  a1 | ulong |