summaryrefslogtreecommitdiffstats
path: root/src/gvcore/fileviewbase.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gvcore/fileviewbase.h')
-rw-r--r--src/gvcore/fileviewbase.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/gvcore/fileviewbase.h b/src/gvcore/fileviewbase.h
index 7b09ac7..8d22182 100644
--- a/src/gvcore/fileviewbase.h
+++ b/src/gvcore/fileviewbase.h
@@ -34,9 +34,15 @@ public:
KFileItem* shownFileItem() const { return mShownFileItem; }
virtual void setShownFileItem(KFileItem* fileItem) { mShownFileItem=fileItem; }
-
+
virtual void updateFromSettings() {}
+ using KFileView::updateView;
+ void updateView(const KFileItem* fileItem) override {
+ updateView(fileItem, false);
+ }
+ virtual void updateView(const KFileItem* fileItem, bool metaDataOnly) = 0;
+
protected:
KFileItem* mShownFileItem;
};