┌   ┐
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.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/views/dolphinview.h b/src/views/dolphinview.h
index 4a400ce2a..55b6b5829 100644
--- a/src/views/dolphinview.h
+++ b/src/views/dolphinview.h
@@ -167,6 +167,11 @@ public:
int selectedItemsCount() const;
/**
+ * Returns the selected kfileitem if one is selected and only one
+ */
+ std::optional<KFileItem> firstSelectedItem() const;
+
+ /**
* Marks the items indicated by \p urls to get selected after the
* directory DolphinView::url() has been loaded. Note that nothing
* gets selected if no loading of a directory has been triggered
@@ -854,6 +859,8 @@ private Q_SLOTS:
*/
void observeCreatedItem(const QUrl &url);
+ void observeCreatedDirectory(const QUrl &url);
+
/**
* Selects the next item after prev selection deleted/trashed
*/
@@ -953,6 +960,8 @@ private:
bool tryShowNameToolTip(QHelpEvent *event);
+ void selectFileOnceAvailable(const QUrl &url, std::function<bool()> condition);
+
private:
void updatePalette();
void showLoadingPlaceholder();