lp:~ahayzen/ubuntu-settings-components/extract-job-attributes
- Get this branch:
- bzr branch lp:~ahayzen/ubuntu-settings-components/extract-job-attributes
Branch merges
- Jonas G. Drange (community): Approve
-
Diff: 873 lines (+513/-11)10 files modifiedexamples/PrinterQueue.qml (+5/-0)
plugins/Ubuntu/Settings/Printers/backend/backend_cups.cpp (+80/-4)
plugins/Ubuntu/Settings/Printers/cups/cupsfacade.cpp (+85/-0)
plugins/Ubuntu/Settings/Printers/cups/cupsfacade.h (+1/-0)
plugins/Ubuntu/Settings/Printers/cups/cupspkhelper.cpp (+120/-2)
plugins/Ubuntu/Settings/Printers/cups/cupspkhelper.h (+3/-0)
plugins/Ubuntu/Settings/Printers/models/jobmodel.cpp (+78/-0)
plugins/Ubuntu/Settings/Printers/models/jobmodel.h (+15/-0)
plugins/Ubuntu/Settings/Printers/printer/printerjob.cpp (+94/-4)
plugins/Ubuntu/Settings/Printers/printer/printerjob.h (+32/-1)
Branch information
Recent revisions
- 229. By Andrew Hayzen
-
* Expose many more properties of PrinterJob to the JobModel
* Load PrinterJob properties from the ipp job attributes when loading for the JobModel - 228. By Andrew Hayzen
-
* Resolve console warnings - add TODOs in methods that should be implemented where I've put a fake return value for now
* Set a default for switches that compiler thinks it can reach the end of the control without
* Add return values for methods that are not implemented yet
* Add Q_UNUSED for parameters that aren't used - 227. By Andrew Hayzen
-
* Link notifications to JobModel - removing polling
* Fix compiler errors that appeared from the previous branch
* Fix logic change in last branch that was wrong way around - 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
* Add deepCompare to Printer and PrinterJob - 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 - 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