#include <QPushButton>
#include <QWidget>
-#if HAVE_KACTIVITIES
-namespace KActivities
-{
-class ResourceInstance;
-}
-#endif
-
class FilterBar;
class KMessageWidget;
class QAction;
* The URL navigator is synchronized with this URL.
*/
QUrl url() const;
+ KFileItem rootItem() const;
/**
* If \a active is true, the view container will marked as active. The active
*/
void slotItemsActivated(const KFileItemList &items);
+ /**
+ * Handles middle click of file. It opens the file passed using the second application associated with the file's mimetype.
+ */
+ void slotfileMiddleClickActivated(const KFileItem &item);
+
/**
* Shows the information for the item \a item inside the statusbar. If the
* item is null, the default statusbar information is shown.
* Gets the search URL from the searchbox and starts searching.
*/
void startSearching();
+ void openSearchBox();
void closeSearchBox();
/**
* connected to this ViewContainer.
*/
std::unique_ptr<DolphinUrlNavigator::VisualState> m_urlNavigatorVisualState;
-
-#if HAVE_KACTIVITIES
-private:
- KActivities::ResourceInstance *m_activityResourceInstance;
-#endif
};
#endif // DOLPHINVIEWCONTAINER_H