┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinviewcontainer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dolphinviewcontainer.h')
-rw-r--r--src/dolphinviewcontainer.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/dolphinviewcontainer.h b/src/dolphinviewcontainer.h
index 60c9b90d1..90df69c8e 100644
--- a/src/dolphinviewcontainer.h
+++ b/src/dolphinviewcontainer.h
@@ -20,6 +20,10 @@
#include <QPushButton>
#include <QWidget>
+namespace Admin
+{
+class Bar;
+}
class FilterBar;
class KMessageWidget;
class QAction;
@@ -331,6 +335,11 @@ private Q_SLOTS:
*/
void showItemInfo(const KFileItem &item);
+ /**
+ * Sets the Admin::Bar visible or invisible based on whether \a url is an admin url.
+ */
+ void updateAdminBarVisibility(const QUrl &url);
+
void closeFilterBar();
/**
@@ -447,6 +456,9 @@ private:
DolphinSearchBox *m_searchBox;
bool m_searchModeEnabled;
+ /// A bar shown at the top of the view to signify that the view is currently viewed and acted on with elevated privileges.
+ Admin::Bar *m_adminBar;
+
KMessageWidget *m_messageWidget;
/// A bar shown at the top of the view to signify that selection mode is currently active.