#### PyKDE - Python Bindings for KDE

# class KParts.ReadOnlyPart

Table of contents
Modules
kparts Classes
All Classes

Module | kparts
Class | KParts.ReadOnlyPart (abstract)
Inherits | KParts.Part

### methods

- ReadOnlyPart (parent = 0, name = 0)

  returns a ReadOnlyPart instance

  Argument | Type | Default
  --- | --- | ---
  parent | QObject | 0
  name | char | 0

- abortLoad ()

  returns nothing

- canceled (errMsg)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  errMsg | QString |

- closeStream ()

  returns (bool)

- closeURL ()

  returns (bool)

- completed ()

  returns nothing

- completed (pendingAction)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  pendingAction | bool |

- guiActivateEvent (event)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  event | KParts.GUIActivateEvent |

- isProgressInfoEnabled ()

  returns (bool)

- openFile () = 0

  returns (bool)
  pure virtual

- openStream (mimeType, url)

  returns (bool)

  Argument | Type | Default
  --- | --- | ---
  mimeType | QString |
  url | KURL |

- openURL (url)

  returns (bool)

  Argument | Type | Default
  --- | --- | ---
  url | KURL |

- setProgressInfoEnabled (show)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  show | bool |

- showProgressInfo (show)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  show | bool |

- slotJobFinished (job)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  job | KIO.Job |

- started (a0)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | KIO.Job |

- url ()

  returns (KURL)

- writeStream (data)

  returns (bool)

  Argument | Type | Default
  --- | --- | ---
  data | QByteArray |