class KMJob

#### PyKDE - Python Bindings for KDE

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

Module | kdeprint
Class | KMJob
Inherits | KMObject

### enums

- JobAction = {Remove = 1, Move = 2, Hold = 4, Resume = 8, Restart = 16, ShowCompleted = 32, All = 255 }
- JobState = {Printing = 1, Queued = 2, Held = 3, Error = 4, Cancelled = 5, Aborted = 6, Completed = 7, Unknown = 8 }
- JobType = {System = 0, Threaded = 1 }

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