Merge lp:~ahayzen/ubuntu-ui-extras/job-model-filters-for-queue-dialog into lp:~phablet-team/ubuntu-ui-extras/printer-staging
Proposed by
Andrew Hayzen
Status: | Merged |
---|---|
Approved by: | Jonas G. Drange |
Approved revision: | 144 |
Merged at revision: | 144 |
Proposed branch: | lp:~ahayzen/ubuntu-ui-extras/job-model-filters-for-queue-dialog |
Merge into: | lp:~phablet-team/ubuntu-ui-extras/printer-staging |
Diff against target: |
254 lines (+123/-17) 6 files modified
modules/Ubuntu/Components/Extras/Printers/enums.h (+5/-0) modules/Ubuntu/Components/Extras/Printers/models/jobmodel.cpp (+75/-3) modules/Ubuntu/Components/Extras/Printers/models/jobmodel.h (+17/-2) modules/Ubuntu/Components/Extras/Printers/printers/printers.cpp (+12/-0) modules/Ubuntu/Components/Extras/Printers/printers/printers.h (+2/-0) tests/unittests/Printers/tst_jobmodel.cpp (+12/-12) |
To merge this branch: | bzr merge lp:~ahayzen/ubuntu-ui-extras/job-model-filters-for-queue-dialog |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jonas G. Drange (community) | Approve | ||
Review via email: mp+319048@code.launchpad.net |
Commit message
* Add filters for active, paused and queued
* Add sorting by creationTime and then falling back to id
* Change time related roles in JobModel to return QDateTime, not QString, so sorting doesn't break
* Update tests
Description of the change
* Add filters for active, paused and queued
* Add sorting by creationTime and then falling back to id
* Change time related roles in JobModel to return QDateTime, not QString, so sorting doesn't break
* Update tests
To post a comment you must log in.
Couple of minor comments, but looks real fine!