Changeset View
Changeset View
Standalone View
Standalone View
src/views/dolphinview.h
Show First 20 Lines • Show All 306 Lines • ▼ Show 20 Line(s) | 66 | public: | |||
---|---|---|---|---|---|
307 | /** | 307 | /** | ||
308 | * Checks if the given \a item can be opened as folder (e.g. archives). | 308 | * Checks if the given \a item can be opened as folder (e.g. archives). | ||
309 | * This function will also adjust the \a url (e.g. change the protocol). | 309 | * This function will also adjust the \a url (e.g. change the protocol). | ||
310 | * @return a valid and adjusted url if the item can be opened as folder, | 310 | * @return a valid and adjusted url if the item can be opened as folder, | ||
311 | * otherwise return an empty url. | 311 | * otherwise return an empty url. | ||
312 | */ | 312 | */ | ||
313 | static QUrl openItemAsFolderUrl(const KFileItem& item, const bool browseThroughArchives = true); | 313 | static QUrl openItemAsFolderUrl(const KFileItem& item, const bool browseThroughArchives = true); | ||
314 | 314 | | |||
315 | /** | ||||
316 | * Hides tooltip displayed over element. | ||||
317 | */ | ||||
318 | void hideToolTip(const ToolTipManager::HideBehavior behavior = ToolTipManager::HideBehavior::Later); | ||||
319 | | ||||
315 | public slots: | 320 | public slots: | ||
316 | /** | 321 | /** | ||
317 | * Changes the directory to \a url. If the current directory is equal to | 322 | * Changes the directory to \a url. If the current directory is equal to | ||
318 | * \a url, nothing will be done (use DolphinView::reload() instead). | 323 | * \a url, nothing will be done (use DolphinView::reload() instead). | ||
319 | */ | 324 | */ | ||
320 | void setUrl(const QUrl& url); | 325 | void setUrl(const QUrl& url); | ||
321 | 326 | | |||
322 | /** | 327 | /** | ||
▲ Show 20 Lines • Show All 410 Lines • ▼ Show 20 Line(s) | 723 | private: | |||
733 | 738 | | |||
734 | /** | 739 | /** | ||
735 | * Applies the m_mode property to the corresponding | 740 | * Applies the m_mode property to the corresponding | ||
736 | * itemlayout-property of the KItemListView. | 741 | * itemlayout-property of the KItemListView. | ||
737 | */ | 742 | */ | ||
738 | void applyModeToView(); | 743 | void applyModeToView(); | ||
739 | 744 | | |||
740 | /** | 745 | /** | ||
741 | * Hides tooltip displayed over element. | | |||
742 | */ | | |||
743 | void hideToolTip(const ToolTipManager::HideBehavior behavior = ToolTipManager::HideBehavior::Later); | | |||
744 | | ||||
745 | /** | | |||
746 | * Helper method for DolphinView::paste() and DolphinView::pasteIntoFolder(). | 746 | * Helper method for DolphinView::paste() and DolphinView::pasteIntoFolder(). | ||
747 | * Pastes the clipboard data into the URL \a url. | 747 | * Pastes the clipboard data into the URL \a url. | ||
748 | */ | 748 | */ | ||
749 | void pasteToUrl(const QUrl& url); | 749 | void pasteToUrl(const QUrl& url); | ||
750 | 750 | | |||
751 | /** | 751 | /** | ||
752 | * Returns a list of URLs for all selected items. The list is | 752 | * Returns a list of URLs for all selected items. The list is | ||
753 | * simplified, so that when the URLs are part of different tree | 753 | * simplified, so that when the URLs are part of different tree | ||
▲ Show 20 Lines • Show All 81 Lines • Show Last 20 Lines |