┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/views/dolphinview.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/views/dolphinview.h')
-rw-r--r--src/views/dolphinview.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/views/dolphinview.h b/src/views/dolphinview.h
index e3f83979c..35276f9ac 100644
--- a/src/views/dolphinview.h
+++ b/src/views/dolphinview.h
@@ -10,6 +10,7 @@
#include "dolphin_export.h"
#include "dolphintabwidget.h"
+#include "kitemviews/private/kfileitemmodelfilter.h"
#include "tooltips/tooltipmanager.h"
#include "config-dolphin.h"
@@ -277,6 +278,18 @@ public:
QStringList mimeTypeFilters() const;
/**
+ * Sets the filtering mode of the currently used nameFilter.
+ */
+ void setFilterMode(KFileItemModelFilter::FilterMode mode);
+ KFileItemModelFilter::FilterMode filterMode() const;
+
+ /**
+ * Enables or disable the caseSensitive matching of the currently used nameFilter.
+ */
+ void setFilterCaseSensitive(bool caseSensitive);
+ bool isFilterCaseSensitive() const;
+
+ /**
* Tells the view to generate an updated status bar text. The result
* is returned through the statusBarTextChanged(QString statusBarText) signal.
* It will carry a textual representation of the state of the current
@@ -622,6 +635,11 @@ Q_SIGNALS:
void operationCompletedMessage(const QString &msg);
/**
+ * Is emitted so the \a typeAheadFeedback is displayed to the user. Beware: \a typeAheadFeedback is HTML-escaped rich text.
+ */
+ void showTypeAheadFeedback(const QString &typeAheadFeedback);
+
+ /**
* Is emitted after DolphinView::setUrl() has been invoked and
* the current directory is loaded. If this signal is emitted,
* it is assured that the view contains already the correct root
@@ -712,6 +730,12 @@ Q_SIGNALS:
void currentDirectoryRemoved();
/**
+ * Emitted when the view's background is clicked.
+ * Used to trigger a user configured action.
+ */
+ void clickViewBackground(Qt::MouseButton button);
+
+ /**
* Emitted when the view's background is double-clicked.
* Used to trigger an user configured action.
*/
@@ -791,6 +815,11 @@ private Q_SLOTS:
void updateSortFoldersFirst(bool foldersFirst);
/**
+ * Cache out zoom mode changes to prevent constant Settings requests
+ */
+ void updateDefaultZoomLevel();
+
+ /**
* Updates the view properties of the current URL to the
* sorting of hidden files given by \a hiddenLast.
*/
@@ -1007,6 +1036,9 @@ private:
// resolution scroll wheels)
int m_controlWheelAccumulatedDelta;
+ // Cached out default zoom level after view mode changes
+ int m_defaultZoomLevel = -1;
+
QList<QUrl> m_selectedUrls; // Used for making the view to remember selections after F5 and file operations
bool m_clearSelectionBeforeSelectingNewItems;
bool m_markFirstNewlySelectedItemAsCurrent;