]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/search/dolphinsearchbox.h
Add Duplicate feature
[dolphin.git] / src / search / dolphinsearchbox.h
index 241dc40c12c5d4b34c27f26ce7d18513ec820347..5fef4ec5a7bdd5464e27818b762ea1456b754d6c 100644 (file)
@@ -24,6 +24,7 @@
 #include <QWidget>
 
 class DolphinFacetsWidget;
+class DolphinQuery;
 class QLineEdit;
 class KSeparator;
 class QToolButton;
@@ -152,10 +153,9 @@ private:
     QUrl balooUrlForSearching() const;
 
     /**
-     * Extracts information from the given Baloo search \a url to
-     * initialize the search box properly.
+     * Sets the searchbox UI with the parameters established by the \a query
      */
-    void fromBalooSearchUrl(const QUrl& url);
+    void updateFromQuery(const DolphinQuery& query);
 
     void updateFacetsVisible();