hallas created this revision. hallas added reviewers: Frameworks, ngraham. Herald added a project: Frameworks. Herald added a subscriber: kde-frameworks-devel. hallas requested review of this revision.
REVISION SUMMARY Add support for KBookmarkOwner to communicate if it has tabs open. This is used by KBookmarkMenu to only add the `Bookmark Tabs as Folder...` entry if the KBookmarkOwner supports tabs and actually has tabs open. KBookmarkMenu will also keep track of if the state of tabs open changes and add/remove the menu entry accordingly. TEST PLAN Unit test added REPOSITORY R294 KBookmarks BRANCH add_tabs_open (branched from master) REVISION DETAIL https://phabricator.kde.org/D20209 AFFECTED FILES autotests/CMakeLists.txt autotests/kbookmarkmenutest.cpp src/kbookmarkmenu.cpp src/kbookmarkmenu.h src/kbookmarkowner.h To: hallas, #frameworks, ngraham Cc: kde-frameworks-devel, michaelh, ngraham, bruns