Merge lp://qastaging/~jonas-drange/ubuntu-settings-components/cups-notifications into lp://qastaging/~phablet-team/ubuntu-settings-components/printer-components

Proposed by Jonas G. Drange
Status: Merged
Approved by: Andrew Hayzen
Approved revision: 227
Merged at revision: 225
Proposed branch: lp://qastaging/~jonas-drange/ubuntu-settings-components/cups-notifications
Merge into: lp://qastaging/~phablet-team/ubuntu-settings-components/printer-components
Diff against target: 880 lines (+417/-79)
17 files modified
plugins/Ubuntu/Settings/Printers/CMakeLists.txt (+9/-1)
plugins/Ubuntu/Settings/Printers/backend/backend.h (+25/-5)
plugins/Ubuntu/Settings/Printers/backend/backend_cups.cpp (+46/-9)
plugins/Ubuntu/Settings/Printers/backend/backend_cups.h (+8/-0)
plugins/Ubuntu/Settings/Printers/cups/cupsfacade.cpp (+10/-0)
plugins/Ubuntu/Settings/Printers/cups/cupsfacade.h (+2/-0)
plugins/Ubuntu/Settings/Printers/cups/cupspkhelper.cpp (+61/-0)
plugins/Ubuntu/Settings/Printers/cups/cupspkhelper.h (+2/-0)
plugins/Ubuntu/Settings/Printers/models/printermodel.cpp (+21/-11)
plugins/Ubuntu/Settings/Printers/models/printermodel.h (+5/-5)
plugins/Ubuntu/Settings/Printers/org.cups.cupsd.Notifier.xml (+146/-0)
plugins/Ubuntu/Settings/Printers/printers/printers.cpp (+7/-5)
plugins/Ubuntu/Settings/Printers/printers/printers.h (+2/-4)
tests/unittests/Printers/mockbackend.h (+35/-20)
tests/unittests/Printers/tst_printerfilter.cpp (+8/-6)
tests/unittests/Printers/tst_printermodel.cpp (+28/-11)
tests/unittests/Printers/tst_printers.cpp (+2/-2)
To merge this branch: bzr merge lp://qastaging/~jonas-drange/ubuntu-settings-components/cups-notifications
Reviewer Review Type Date Requested Status
Andrew Hayzen (community) Approve
Review via email: mp+316253@code.qastaging.launchpad.net

Commit message

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

To post a comment you must log in.
Revision history for this message
Jonas G. Drange (jonas-drange) wrote :
224. By Jonas G. Drange

implements fewer signals

225. By Jonas G. Drange

removes unused stuff

Revision history for this message
Andrew Hayzen (ahayzen) wrote :

This looks good, can you do a pull of trunk. Then this can be approved. We can link the JobModel in a separate branch :-)

226. By Jonas G. Drange

merges trunk

227. By Jonas G. Drange

mock backend returns an empty job list for now

Revision history for this message
Andrew Hayzen (ahayzen) wrote :

LGTM, and the tests pass now :-)

100% tests passed, 0 tests failed out of 7

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches