Changeset View
Changeset View
Standalone View
Standalone View
src/views/dolphinview.h
Show All 17 Lines | |||||
18 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * | 18 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * | ||
19 | ***************************************************************************/ | 19 | ***************************************************************************/ | ||
20 | 20 | | |||
21 | #ifndef DOLPHINVIEW_H | 21 | #ifndef DOLPHINVIEW_H | ||
22 | #define DOLPHINVIEW_H | 22 | #define DOLPHINVIEW_H | ||
23 | 23 | | |||
24 | #include "dolphintabwidget.h" | 24 | #include "dolphintabwidget.h" | ||
25 | #include "dolphin_export.h" | 25 | #include "dolphin_export.h" | ||
26 | #include "tooltips/tooltipmanager.h" | ||||
elvisangelaccio: Please drop this include from `dolphinview.cpp` then. | |||||
26 | 27 | | |||
27 | #include <KFileItem> | 28 | #include <KFileItem> | ||
28 | #include <KIO/Job> | 29 | #include <KIO/Job> | ||
29 | #include <config-baloo.h> | 30 | #include <config-baloo.h> | ||
30 | #include <kio/fileundomanager.h> | 31 | #include <kio/fileundomanager.h> | ||
31 | #include <kparts/part.h> | 32 | #include <kparts/part.h> | ||
32 | 33 | | |||
33 | #include <QMimeData> | 34 | #include <QMimeData> | ||
▲ Show 20 Lines • Show All 658 Lines • ▼ Show 20 Line(s) | 562 | private slots: | |||
692 | void slotDirectoryRedirection(const QUrl& oldUrl, const QUrl& newUrl); | 693 | void slotDirectoryRedirection(const QUrl& oldUrl, const QUrl& newUrl); | ||
693 | 694 | | |||
694 | /** | 695 | /** | ||
695 | * Applies the state that has been restored by restoreViewState() | 696 | * Applies the state that has been restored by restoreViewState() | ||
696 | * to the view. | 697 | * to the view. | ||
697 | */ | 698 | */ | ||
698 | void updateViewState(); | 699 | void updateViewState(); | ||
699 | 700 | | |||
700 | void hideToolTip(); | | |||
701 | | ||||
702 | /** | 701 | /** | ||
703 | * Calculates the number of currently shown files into | 702 | * Calculates the number of currently shown files into | ||
704 | * \a fileCount and the number of folders into \a folderCount. | 703 | * \a fileCount and the number of folders into \a folderCount. | ||
705 | * The size of all files is written into \a totalFileSize. | 704 | * The size of all files is written into \a totalFileSize. | ||
706 | * It is recommend using this method instead of asking the | 705 | * It is recommend using this method instead of asking the | ||
707 | * directory lister or the model directly, as it takes | 706 | * directory lister or the model directly, as it takes | ||
708 | * filtering and hierarchical previews into account. | 707 | * filtering and hierarchical previews into account. | ||
709 | */ | 708 | */ | ||
Show All 19 Lines | 713 | private: | |||
729 | 728 | | |||
730 | /** | 729 | /** | ||
731 | * Applies the m_mode property to the corresponding | 730 | * Applies the m_mode property to the corresponding | ||
732 | * itemlayout-property of the KItemListView. | 731 | * itemlayout-property of the KItemListView. | ||
733 | */ | 732 | */ | ||
734 | void applyModeToView(); | 733 | void applyModeToView(); | ||
735 | 734 | | |||
736 | /** | 735 | /** | ||
736 | * Hides tooltip displayed over element. | ||||
737 | */ | ||||
738 | void hideToolTip(const ToolTipManager::HideBehavior behavior = ToolTipManager::HideBehavior::Later); | ||||
739 | | ||||
740 | /** | ||||
737 | * Helper method for DolphinView::paste() and DolphinView::pasteIntoFolder(). | 741 | * Helper method for DolphinView::paste() and DolphinView::pasteIntoFolder(). | ||
738 | * Pastes the clipboard data into the URL \a url. | 742 | * Pastes the clipboard data into the URL \a url. | ||
739 | */ | 743 | */ | ||
740 | void pasteToUrl(const QUrl& url); | 744 | void pasteToUrl(const QUrl& url); | ||
741 | 745 | | |||
742 | /** | 746 | /** | ||
743 | * Returns a list of URLs for all selected items. The list is | 747 | * Returns a list of URLs for all selected items. The list is | ||
744 | * simplified, so that when the URLs are part of different tree | 748 | * simplified, so that when the URLs are part of different tree | ||
▲ Show 20 Lines • Show All 81 Lines • Show Last 20 Lines |
Please drop this include from dolphinview.cpp then.