]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphinmainwindow.h
Unify the search interface for non-indexed and indexed folders
[dolphin.git] / src / dolphinmainwindow.h
index 7479c05b14f7836afbc8b6a9a1158ca6af82c3a3..dfc171cf92d5a01e781294e477ab44eabc747e14 100644 (file)
@@ -40,8 +40,6 @@ typedef KIO::FileUndoManager::CommandType CommandType;
 class KAction;
 class DolphinViewActionHandler;
 class DolphinApplication;
-class DolphinSearchBox;
-class DolphinSearchOptionsConfigurator;
 class DolphinSettingsDialog;
 class DolphinViewContainer;
 class DolphinRemoteEncoding;
@@ -216,6 +214,9 @@ private slots:
     /** Pastes the clipboard data to the active view. */
     void paste();
 
+    /** Replaces the URL navigator by a search box to find files. */
+    void find();
+
     /**
      * Updates the text of the paste action dependent from
      * the number of items which are in the clipboard.
@@ -405,18 +406,6 @@ private slots:
      */
     void slotTestCanDecode(const QDragMoveEvent* event, bool& accept);
 
-    /**
-     * Is connected with the Dolphin search box and the search configurator
-     * and triggers a Nepomuk search.
-     */
-    void searchItems();
-
-    /**
-     * Is connected to the searchbox signal 'requestSearchOptions' and
-     * takes care to show the search options.
-     */
-    void showSearchOptions();
-
     /**
      * If the URL can be listed open it in the current view, otherwise
      * run it through KRun.
@@ -540,8 +529,6 @@ private:
     KTabBar* m_tabBar;
     DolphinViewContainer* m_activeViewContainer;
     QVBoxLayout* m_centralWidgetLayout;
-    DolphinSearchBox* m_searchBox;
-    DolphinSearchOptionsConfigurator* m_searchOptionsConfigurator;
     int m_id;
 
     struct ViewTab