#### PyKDE - Python Bindings for KDE

# class Observer

Table of contents
Modules
kio Classes
All Classes

Module | kio
Class | Observer
Inherits | QObject, DCOPObject

### methods

- Observer ()

  returns a Observer instance

- functions ()

  returns (QCStringList)
  In versions KDE 3.1.4 and above only

- interfaces ()

  returns (QCStringList)
  In versions KDE 3.1.4 and above only

- jobFinished (progressId)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  progressId | int |

- killJob (progressId)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  progressId | int |

- messageBox (progressId, type, text, caption, buttonYes, buttonNo)

  returns (int)

  Argument | Type | Default
  --- | --- | ---
  progressId | int |
  type | int |
  text | QString |
  caption | QString |
  buttonYes | QString |
  buttonNo | QString |

- messageBox (progressId, type, text, caption, buttonYes, buttonNo, dontAskAgainName)

  returns (int)
  In versions KDE 3.3.0 and above only
  static

  Argument | Type | Default
  --- | --- | ---
  progressId | int |
  type | int |
  text | QString |
  caption | QString |
  buttonYes | QString |
  buttonNo | QString |
  dontAskAgainName | QString |

- metadata (progressId)

  returns (KIO.MetaData)

  Argument | Type | Default
  --- | --- | ---
  progressId | int |

- mounting (a0, dev, point)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | KIO.Job |
  dev | QString |
  point | QString |

- newJob (job, showProgress)

  returns (int)

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

- openPassDlg (prompt, user, pass, readOnly)

  returns (bool)

  Argument | Type | Default
  --- | --- | ---
  prompt | QString |
  user | QString |
  pass | QString |
  readOnly | bool |

- openPassDlg (info)

  returns (bool)

  Argument | Type | Default
  --- | --- | ---
  info | KIO.AuthInfo |

- open_RenameDlg (job, caption, src, dest, mode, newDest, sizeSrc = -1, sizeDest = -1, ctimeSrc = -1, ctimeDest = -1, mtimeSrc = -1, mtimeDest = -1)

  returns (KIO.RenameDlg_Result)

  Argument | Type | Default
  --- | --- | ---
  job | KIO.Job |
  caption | QString |
  src | QString |
  dest | QString |
  mode | KIO.RenameDlg_Mode |
  newDest | QString |
  sizeSrc | KIO.filesize_t | -1
  sizeDest | KIO.filesize_t | -1
  ctimeSrc | time_t | -1
  ctimeDest | time_t | -1
  mtimeSrc | time_t | -1
  mtimeDest | time_t | -1

- open_SkipDlg (job, multi, error_text)

  returns (KIO.SkipDlg_Result)

  Argument | Type | Default
  --- | --- | ---
  job | KIO.Job |
  multi | bool |
  error_text | QString |

- process (fun, data, replyType, replyData)

  returns (bool)
  In versions KDE 3.1.4 and above only

  Argument | Type | Default
  --- | --- | ---
  fun | QCString |
  data | QByteArray |
  replyType | QCString |
  replyData | QByteArray |

- self ()

  returns (Observer)
  static

- slotCanResume (a0, offset)

  returns nothing

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

- slotCopying (a0, from, to)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | KIO.Job |
  from | KURL |
  to | KURL |

- slotCreatingDir (a0, dir)

  returns nothing

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

- slotDeleting (a0, url)

  returns nothing

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

- slotInfoMessage (a0, msg)

  returns nothing

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

- slotMoving (a0, from, to)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | KIO.Job |
  from | KURL |
  to | KURL |

- slotPercent (a0, percent)

  returns nothing

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

- slotProcessedDirs (a0, dirs)

  returns nothing

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

- slotProcessedFiles (a0, files)

  returns nothing

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

- slotProcessedSize (a0, size)

  returns nothing

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

- slotSpeed (a0, speed)

  returns nothing

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

- slotTotalDirs (a0, dirs)

  returns nothing

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

- slotTotalFiles (a0, files)

  returns nothing

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

- slotTotalSize (a0, size)

  returns nothing

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

- slotTransferring (a0, url)

  returns nothing
  In versions KDE 3.1.0 and above only

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

- stating (a0, url)

  returns nothing

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

- unmounting (a0, point)

  returns nothing

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

- ~Observer ()

  returns nothing