#### PyKDE - Python Bindings for KDE

# class KMJob

Table of contents
Modules
kdeprint Classes
All Classes

Module | kdeprint
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 (QString)
  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 (QString)
  In versions KDE 3.1.0 and above only

- owner ()

  returns (QString)
  In versions KDE 3.1.0 and above only

- pages ()

  returns (int)
  In versions KDE 3.1.0 and above only

- pixmap ()

  returns (QString)
  In versions KDE 3.1.0 and above only

- printer ()

  returns (QString)
  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 | QString |

- 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 | QString |

- setOwner (s)

  returns nothing
  In versions KDE 3.1.0 and above only

  Argument | Type | Default
  --- | --- | ---
  s | QString |

- 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 | QString |

- 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 | QString |

- 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 (QString)
  In versions KDE 3.1.0 and above only

- type ()

  returns (int)
  In versions KDE 3.1.0 and above only

- uri ()

  returns (QString)
  In versions KDE 3.1.0 and above only