X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/362817d1834f2ada3ea4552a25fa39bbbb540f8c..c8d8556950005dfd96ebdb41d2f43ad90356367c:/src/views/dolphinview.h diff --git a/src/views/dolphinview.h b/src/views/dolphinview.h index e0be25e42..a6b8fe3ae 100644 --- a/src/views/dolphinview.h +++ b/src/views/dolphinview.h @@ -555,6 +555,7 @@ private slots: void activate(); void slotItemActivated(int index); + void slotItemsActivated(const QSet& indexes); void slotItemMiddleClicked(int index); void slotItemContextMenuRequested(int index, const QPointF& pos); void slotViewContextMenuRequested(const QPointF& pos); @@ -645,6 +646,18 @@ private slots: */ void slotRefreshItems(); + /** + * Is invoked when the sort order has been changed by the user by clicking + * on a header item. The view properties of the directory will get updated. + */ + void slotSortOrderChangedByHeader(Qt::SortOrder current, Qt::SortOrder previous); + + /** + * Is invoked when the sort role has been changed by the user by clicking + * on a header item. The view properties of the directory will get updated. + */ + void slotSortRoleChangedByHeader(const QByteArray& current, const QByteArray& previous); + /** * Observes the item with the URL \a url. As soon as the directory * model indicates that the item is available, the item will @@ -672,6 +685,8 @@ private slots: */ void updateViewState(); + void hideToolTip(); + //void slotUrlChangeRequested(const KUrl& url); private: @@ -693,14 +708,6 @@ private: */ void pasteToUrl(const KUrl& url); - /** - * Checks whether the current item view has the same zoom level - * as \a oldZoomLevel. If this is not the case, the zoom level - * of the controller is updated and a zoomLevelChanged() signal - * is emitted. - */ - void updateZoomLevel(int oldZoomLevel); - /** * Returns a list of URLs for all selected items. The list is * simplified, so that when the URLs are part of different tree @@ -756,10 +763,11 @@ private: QTimer* m_selectionChangedTimer; - KUrl m_currentItemUrl; + KUrl m_currentItemUrl; // Used for making the view to remember the current URL after F5 QPoint m_restoredContentsPosition; KUrl m_createdItemUrl; // URL for a new item that got created by the "Create New..." menu - QList m_selectedUrls; // this is used for making the View to remember selections after F5 + + QList m_selectedUrls; // Used for making the view to remember selections after F5 VersionControlObserver* m_versionControlObserver;