#ifndef TREEVIEWCONTEXTMENU_H
#define TREEVIEWCONTEXTMENU_H
-#include <QObject>
#include <KFileItem>
+#include <QObject>
+
class QMimeData;
class FoldersPanel;
TreeViewContextMenu(FoldersPanel* parent,
const KFileItem& fileInfo);
- virtual ~TreeViewContextMenu();
+ ~TreeViewContextMenu() override;
/** Opens the context menu modal. */
void open();
*/
void setShowHiddenFiles(bool show);
+ /**
+ * Sets the 'Limit folders panel to home' setting for the
+ * folders panel to \a enable.
+ */
+ void setLimitFoldersPanelToHome(bool enable);
+
/**
* Sets the 'Automatic Scrolling' setting for the
* folders panel to \a enable.