┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/panels/places/placespanel.h
diff options
context:
space:
mode:
authorRenato Araujo Oliveira Filho <[email protected]>2017-12-07 11:36:00 -0300
committerRenato Araujo Oliveira Filho <[email protected]>2017-12-14 09:42:13 -0300
commit5f1df43b87898b380228a3548553de3290ddb0d7 (patch)
tree0de269324e3ee153f873c8d9383070fa879555ab /src/panels/places/placespanel.h
parentda6f8fe0862585287153f0d90e19eab0b34bfbef (diff)
Implemented support for hide/show groups
Summary: Added an option on PlacesPanel context menu to show or hide the entire group of places. Depends on D8855 Test Plan: Open Donlphin and use PlacesPanel context menu to hide and show groups Reviewers: franckarrecot, mlaurent, mwolff, elvisangelaccio Reviewed By: franckarrecot, mlaurent, mwolff, elvisangelaccio Subscribers: rkflx, mwolff, elvisangelaccio, ngraham, #dolphin Differential Revision: https://phabricator.kde.org/D9242
Diffstat (limited to 'src/panels/places/placespanel.h')
-rw-r--r--src/panels/places/placespanel.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/panels/places/placespanel.h b/src/panels/places/placespanel.h
index f5c90b1f9..444785888 100644
--- a/src/panels/places/placespanel.h
+++ b/src/panels/places/placespanel.h
@@ -31,6 +31,7 @@ class PlacesItemModel;
class PlacesView;
class QGraphicsSceneDragDropEvent;
class KJob;
+class QMenu;
/**
* @brief Combines bookmarks and mounted devices as list.
*/
@@ -82,6 +83,8 @@ private:
void triggerItem(int index, Qt::MouseButton button);
+ QAction* buildGroupContextMenu(QMenu* menu, int index);
+
private:
KItemListController* m_controller;
PlacesItemModel* m_model;