Merge lp:~ahayzen/ubuntu-ui-extras/printer-components-job-hold-release into lp:~phablet-team/ubuntu-ui-extras/printer-staging
Proposed by
Andrew Hayzen
Status: | Merged |
---|---|
Approved by: | Jonas G. Drange |
Approved revision: | 139 |
Merged at revision: | 138 |
Proposed branch: | lp:~ahayzen/ubuntu-ui-extras/printer-components-job-hold-release |
Merge into: | lp:~phablet-team/ubuntu-ui-extras/printer-staging |
Diff against target: |
441 lines (+193/-43) 14 files modified
modules/Ubuntu/Components/Extras/Example/PrinterQueue.qml (+24/-5) modules/Ubuntu/Components/Extras/Printers/backend/backend.cpp (+12/-0) modules/Ubuntu/Components/Extras/Printers/backend/backend.h (+2/-0) modules/Ubuntu/Components/Extras/Printers/backend/backend_cups.cpp (+14/-0) modules/Ubuntu/Components/Extras/Printers/backend/backend_cups.h (+2/-0) modules/Ubuntu/Components/Extras/Printers/cups/ippclient.cpp (+27/-4) modules/Ubuntu/Components/Extras/Printers/cups/ippclient.h (+2/-0) modules/Ubuntu/Components/Extras/Printers/models/jobmodel.cpp (+5/-24) modules/Ubuntu/Components/Extras/Printers/models/jobmodel.h (+1/-0) modules/Ubuntu/Components/Extras/Printers/printer/printerjob.h (+8/-10) modules/Ubuntu/Components/Extras/Printers/printers/printers.cpp (+10/-0) modules/Ubuntu/Components/Extras/Printers/printers/printers.h (+2/-0) tests/unittests/Printers/mockbackend.h (+32/-0) tests/unittests/Printers/tst_printers.cpp (+52/-0) |
To merge this branch: | bzr merge lp:~ahayzen/ubuntu-ui-extras/printer-components-job-hold-release |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jonas G. Drange | Pending | ||
Review via email: mp+318626@code.launchpad.net |
Commit message
* Add holdJob and releaseJob methods to Printers
* Add HeldRole to JobModel
* Add tests for hold and releasing a job
* Update example to show how hold and release work
* Update StateRole to return just the state, not text
Description of the change
* Add holdJob and releaseJob methods to Printers
* Add HeldRole to JobModel
* Add tests for hold and releasing a job
* Update example to show how hold and release work
* Update StateRole to return just the state, not text
To post a comment you must log in.