┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/search/dolphinsearchbox.h
diff options
context:
space:
mode:
authorGregor Mi <[email protected]>2017-01-21 00:07:49 +0100
committerAlbert Astals Cid <[email protected]>2017-01-21 00:07:49 +0100
commit728e6712b8833538117faec81ad6324b385c5765 (patch)
tree80f5a54c9387d4c5d21ba41f5923d778bd7efbdb /src/search/dolphinsearchbox.h
parent0aed243bebae72d85aa06032bdf2d6ba2b58141d (diff)
DolphinSearchBox: Add a "More search tools..." menu button
Additionally, moves the "More/Fewer options" button from right to left to reduce the mouse travelling distance when the dolphin is maximized on a large screen (see screenshots) The current location url will be passed to the search tool to set the initial search root directory. REVIEW: 123883
Diffstat (limited to 'src/search/dolphinsearchbox.h')
-rw-r--r--src/search/dolphinsearchbox.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/search/dolphinsearchbox.h b/src/search/dolphinsearchbox.h
index b747679ec..5063c2bf5 100644
--- a/src/search/dolphinsearchbox.h
+++ b/src/search/dolphinsearchbox.h
@@ -30,6 +30,7 @@ class QToolButton;
class QScrollArea;
class QLabel;
class QVBoxLayout;
+class KMoreToolsMenuFactory;
/**
* @brief Input box for searching files with or without Baloo.
@@ -176,6 +177,7 @@ private:
DolphinFacetsWidget* m_facetsWidget;
QUrl m_searchPath;
+ QScopedPointer<KMoreToolsMenuFactory> m_menuFactory;
QTimer* m_startSearchTimer;
};