Created by Jonas G. Drange on 2016-12-22 and last modified on 2017-02-17
Get this branch:
bzr branch lp:~phablet-team/ubuntu-settings-components/printer-components
Members of Ubuntu Phablet Team can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Ubuntu Phablet Team
Ubuntu Settings Components

Recent revisions

232. By Jonas G. Drange on 2017-02-17

* adds PrinterSignalHandler that is responsible for handling (some) printer signals.
* uses PrinterSignalHandler in PrinterModel so that i only will update printers a minimum number of times

231. By Jonas G. Drange on 2017-02-17

frees all the jobs which works fine

230. By Jonas G. Drange on 2017-02-17

merges ~jonas-drange/ubuntu-settings-components/asyncness/

229. By Andrew Hayzen on 2017-02-07

* 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 on 2017-02-06

* 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 on 2017-02-06

* 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 on 2017-02-03

* 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 on 2017-02-03

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

224. By Andrew Hayzen on 2017-02-02

* 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 on 2017-02-02

* Add cancel method to Printers

Branch metadata

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