#### PyKDE - Python Bindings for KDE

# class KMJob |
Table of contents
Modules
tdeprint Classes
All Classes

Module | tdeprint
Class | KMJob
Inherits | KMObject

### enums

- JobAction = {Remove, Move, Hold, Resume, Restart, ShowCompleted, All }
- JobState = {Printing, Queued, Held, Error, Cancelled, Aborted, Completed, Unknown }
- JobType = {System, Threaded }

### methods

- KMJob ()

  returns a KMJob instance
  In versions KDE 3.1.0 and above only

- KMJob (j)

  returns a KMJob instance
  In versions KDE 3.1.0 and above only
  Argument | Type | Default
  --- | --- | ---
  j | KMJob |

- attribute (i)

  returns (TQString)
  In versions KDE 3.1.0 and above only
  Argument | Type | Default
  --- | --- | ---
  i | int |

- attributeCount ()

  returns (int)
  In versions KDE 3.1.0 and above only

- copy (j)

  returns nothing
  In versions KDE 3.1.0 and above only
  Argument | Type | Default
  --- | --- | ---
  j | KMJob |

- id ()

  returns (int)
  In versions KDE 3.1.0 and above only

- init ()

  returns nothing
  In versions KDE 3.1.0 and above only

- isActive ()

  returns (bool)
  In versions KDE 3.1.0 and above only

- isCompleted ()

  returns (bool)
  In versions KDE 3.1.0 and above only

- isRemote ()

  returns (bool)
  In versions KDE 3.1.0 and above only

- name ()

  returns (TQString)
  In versions KDE 3.1.0 and above only

- owner ()

  returns (TQString)
  In versions KDE 3.1.0 and above only

- pages ()

  returns (int)
  In versions KDE 3.1.0 and above only

- pixmap ()

  returns (TQString)
  In versions KDE 3.1.0 and above only

- printer ()

  returns (TQString)
  In versions KDE 3.1.0 and above only

- processedPages ()

  returns (int)
  In versions KDE 3.1.0 and above only

- processedSize ()

  returns (int)
  In versions KDE 3.1.0 and above only

- setAttribute (i, att)

  returns nothing
  In versions KDE 3.1.0 and above only
  Argument | Type | Default
  --- | --- | ---
  i | int |
  att | TQString |

- setAttributeCount (c)

  returns nothing
  In versions KDE 3.1.0 and above only
  Argument | Type | Default
  --- | --- | ---
  c | int |

- setId (id)

  returns nothing
  In versions KDE 3.1.0 and above only
  Argument | Type | Default
  --- | --- | ---
  id | int |

- setName (s)

  returns nothing
  In versions KDE 3.1.0 and above only
  Argument | Type | Default
  --- | --- | ---
  s | TQString |

- setOwner (s)

  returns nothing
  In versions KDE 3.1.0 and above only
  Argument | Type | Default
  --- | --- | ---
  s | TQString |

- setPages (p)

  returns nothing
  In versions KDE 3.1.0 and above only
  Argument | Type | Default
  --- | --- | ---
  p | int |

- setPrinter (s)

  returns nothing
  In versions KDE 3.1.0 and above only
  Argument | Type | Default
  --- | --- | ---
  s | TQString |

- setProcessedPages (p)

  returns nothing
  In versions KDE 3.1.0 and above only
  Argument | Type | Default
  --- | --- | ---
  p | int |

- setProcessedSize (s)

  returns nothing
  In versions KDE 3.1.0 and above only
  Argument | Type | Default
  --- | --- | ---
  s | int |

- setRemote (on)

  returns nothing
  In versions KDE 3.1.0 and above only
  Argument | Type | Default
  --- | --- | ---
  on | bool |

- setSize (s)

  returns nothing
  In versions KDE 3.1.0 and above only
  Argument | Type | Default
  --- | --- | ---
  s | int |

- setState (s)

  returns nothing
  In versions KDE 3.1.0 and above only
  Argument | Type | Default
  --- | --- | ---
  s | int |

- setType (t)

  returns nothing
  In versions KDE 3.1.0 and above only
  Argument | Type | Default
  --- | --- | ---
  t | int |

- setUri (s)

  returns nothing
  In versions KDE 3.1.0 and above only
  Argument | Type | Default
  --- | --- | ---
  s | TQString |

- size ()

  returns (int)
  In versions KDE 3.1.0 and above only

- state ()

  returns (int)
  In versions KDE 3.1.0 and above only

- stateString ()

  returns (TQString)
  In versions KDE 3.1.0 and above only

- type ()

  returns (int)
  In versions KDE 3.1.0 and above only

- uri ()

  returns (TQString)
  In versions KDE 3.1.0 and above only