#### PyKDE - Python Bindings for KDE

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

Module | tdeio
Class | Observer
Inherits | TQObject, 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 | TQString |
  caption | TQString |
  buttonYes | TQString |
  buttonNo | TQString |

- 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 | TQString |
  caption | TQString |
  buttonYes | TQString |
  buttonNo | TQString |
  dontAskAgainName | TQString |

- metadata (progressId)

  returns (_TDEIO.MetaData)
  Argument | Type | Default
  --- | --- | ---
  progressId | int |

- mounting (a0, dev, point)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  a0 | _TDEIO.Job |
  dev | TQString |
  point | TQString |

- newJob (job, showProgress)

  returns (int)
  Argument | Type | Default
  --- | --- | ---
  job | _TDEIO.Job |
  showProgress | bool |

- openPassDlg (prompt, user, pass, readOnly)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  prompt | TQString |
  user | TQString |
  pass | TQString |
  readOnly | bool |

- openPassDlg (info)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  info | _TDEIO.AuthInfo |

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

  returns (_TDEIO.RenameDlg_Result)
  Argument | Type | Default
  --- | --- | ---
  job | _TDEIO.Job |
  caption | TQString |
  src | TQString |
  dest | TQString |
  mode | _TDEIO.RenameDlg_Mode |
  newDest | TQString |
  sizeSrc | _TDEIO.filesize_t | -1
  sizeDest | _TDEIO.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 (_TDEIO.SkipDlg_Result)
  Argument | Type | Default
  --- | --- | ---
  job | _TDEIO.Job |
  multi | bool |
  error_text | TQString |

- process (fun, data, replyType, replyData)

  returns (bool)
  In versions KDE 3.1.4 and above only
  Argument | Type | Default
  --- | --- | ---
  fun | TQCString |
  data | TQByteArray |
  replyType | TQCString |
  replyData | TQByteArray |

- self ()

  returns (Observer)
  static

- slotCanResume (a0, offset)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  a0 | _TDEIO.Job |
  offset | _TDEIO.filesize_t |

- slotCopying (a0, from, to)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  a0 | _TDEIO.Job |
  from | KURL |
  to | KURL |

- slotCreatingDir (a0, dir)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  a0 | _TDEIO.Job |
  dir | KURL |

- slotDeleting (a0, url)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  a0 | _TDEIO.Job |
  url | KURL |

- slotInfoMessage (a0, msg)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  a0 | _TDEIO.Job |
  msg | TQString |

- slotMoving (a0, from, to)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  a0 | _TDEIO.Job |
  from | KURL |
  to | KURL |

- slotPercent (a0, percent)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  a0 | _TDEIO.Job |
  percent | ulong |

- slotProcessedDirs (a0, dirs)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  a0 | _TDEIO.Job |
  dirs | ulong |

- slotProcessedFiles (a0, files)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  a0 | _TDEIO.Job |
  files | ulong |

- slotProcessedSize (a0, size)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  a0 | _TDEIO.Job |
  size | _TDEIO.filesize_t |

- slotSpeed (a0, speed)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  a0 | _TDEIO.Job |
  speed | ulong |

- slotTotalDirs (a0, dirs)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  a0 | _TDEIO.Job |
  dirs | ulong |

- slotTotalFiles (a0, files)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  a0 | _TDEIO.Job |
  files | ulong |

- slotTotalSize (a0, size)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  a0 | _TDEIO.Job |
  size | _TDEIO.filesize_t |

- slotTransferring (a0, url)

  returns nothing
  In versions KDE 3.1.0 and above only
  Argument | Type | Default
  --- | --- | ---
  a0 | _TDEIO.Job |
  url | KURL |

- stating (a0, url)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  a0 | _TDEIO.Job |
  url | KURL |

- unmounting (a0, point)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  a0 | _TDEIO.Job |
  point | TQString |

- ~Observer ()

  returns nothing