D8165: Added Auto-Expand Folder On Unread option

Kevin Tardif noreply at phabricator.kde.org
Sat Oct 7 05:07:27 BST 2017


sagara created this revision.
Restricted Application added a project: KDE PIM.
Restricted Application added a subscriber: KDE PIM.

REVISION SUMMARY
  This patch adds a new option, to auto-expand folders whenever any of its
  children have unread content. This makes it quicker to navigate to new
  content when using folders.
  
  akregator_part.rc:
  
  - added an action to <Menu name="view"> with name=auto_expand_folders
  - bumped version
  
  settings_general.ui:
  
  - added kcfg_AutoExpandFolders field under General->Global
  
  subscriptionlistview:
  
  - added slotSetAutoExpandFolders to expand any unread folders when enabling the auto_expand_folders setting
  
  actionmanagerimpl:
  
  - added code to slotSettingsChanged, to update the auto_expand_folders action state
  - added a KAction to ActionManagerImpl:initSubscriptionListView, connected to SubscriptionListView::slotSetAutoExpandFolders
  
  selectioncontroller:
  
  - added subscriptionDataChanged to update folder expand state for newly updated items
  - connect m_subscriptionModel's dataChanged signal to subscriptionDataChanged

REPOSITORY
  R201 Akregator

BRANCH
  auto-expand-patch

REVISION DETAIL
  https://phabricator.kde.org/D8165

AFFECTED FILES
  configuration/ui/settings_general.ui
  interfaces/akregator.kcfg
  src/actions/actionmanagerimpl.cpp
  src/data/akregator_part.rc
  src/selectioncontroller.cpp
  src/selectioncontroller.h
  src/subscription/subscriptionlistview.cpp
  src/subscription/subscriptionlistview.h

To: sagara
Cc: #kde_pim, dvasin, winterz, vkrause, mlaurent, knauss, dvratil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20171007/0eb62290/attachment.html>


More information about the kde-pim mailing list