lp:~ahayzen/ubuntu-settings-components/model-update-printer-printerjob

Created by Andrew Hayzen and last modified
Get this branch:
bzr branch lp:~ahayzen/ubuntu-settings-components/model-update-printer-printerjob
Only Andrew Hayzen can upload to this branch. If you are Andrew Hayzen please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Andrew Hayzen
Project:
Ubuntu Settings Components
Status:
Merged

Recent revisions

230. By Andrew Hayzen

* Add deepCompare to Printer and PrinterJob
* Change updateFrom to only copy values not compare
* Remove toVector as it isn't needed in dataChanged

229. By Andrew Hayzen

* Improve PrinterJob::updateFrom to detect changes

228. By Andrew Hayzen

* Remove test Q_PROPERTY

227. By Andrew Hayzen

* Ensure sorting is done by name last

226. By Andrew Hayzen

* Add updateFrom to Printer and PrinterJob
* Call updateFrom in PrinterModel and JobModel when printers are the same
* Emit dataChanged signal in models when updateFrom returns a change

225. By Jonas G. Drange

* Deprecate QTimer based update()
* Replace with cups subscription based update()
* Fixes tests.

224. By Andrew Hayzen

* Add JobModel which lists the jobs for a certain printer
* Add JobRole to PrinterModel to access jobs
* Add JobState enum to track enums from cups
* Add example Queue which lists jobs for a printer with their name, id, status and allows you to cancel the job by clicking

223. By Andrew Hayzen

* Add cancel method to Printers

222. By Andrew Hayzen

* Always fit-to-page for now as printing app doesn't know about page sizes or scaling yet

221. By Jonas G. Drange

  * allows creation of printers in example qml, and by extension the API
  * create printers by either providing a PPD file, or select a PPD from the database
  * adds a DriverModel that holds printer drivers, which can be filtered
  * adds testing of DriverModel

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:ubuntu-settings-components
This branch contains Public information 
Everyone can see this information.

Subscribers