class KFilterDev

#### PyKDE - Python Bindings for KDE

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

Module | kio
Class | KFilterDev
Inherits | QIODevice

### methods

- KFilterDev (filter, autodeleteFilterBase)

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

- at ()

  returns (QIODevice.Offset)

- at (a0)

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

- atEnd ()

  returns (bool)

- close ()

  returns nothing

- createFilterDevice (base, file)

  returns (QIODevice)
  static
  Argument | Type | Default
  --- | --- | ---
  base | KFilterBase |
  file | QFile |

- device (inDevice, mimetype)

  returns (QIODevice)
  static
  Argument | Type | Default
  --- | --- | ---
  inDevice | QIODevice |
  mimetype | QString |

- device (inDevice, mimetype, autoDeleteInDevice)

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

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

  returns (QIODevice)
  static
  Argument | Type | Default
  --- | --- | ---
  fileName | QString |
  mimetype | QString | QString .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 | QCString |

- setSkipHeaders ()

  returns nothing
  In versions KDE 3.1.0 and above only

- size ()

  returns (QIODevice.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 |