Replace sortOn and treeOn by m_foo->isChecked() Differential Revision: https://phabricator.kde.org/D14596