┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinpart.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dolphinpart.h')
-rw-r--r--src/dolphinpart.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/dolphinpart.h b/src/dolphinpart.h
index dd5fe1e37..b0b01d8d8 100644
--- a/src/dolphinpart.h
+++ b/src/dolphinpart.h
@@ -22,6 +22,7 @@
#include <kparts/part.h>
#include <kparts/browserextension.h>
+#include <kparts/fileinfoextension.h>
#include <QItemSelectionModel>
@@ -262,4 +263,20 @@ private:
DolphinPart* m_part;
};
+
+class DolphinPartFileInfoExtension : public KParts::FileInfoExtension
+{
+ Q_OBJECT
+
+public:
+ DolphinPartFileInfoExtension(DolphinPart* part);
+
+ virtual QueryModes supportedQueryModes() const;
+ virtual bool hasSelection() const;
+
+ virtual KFileItemList queryFor(QueryMode mode) const;
+protected:
+ DolphinPart* part() const;
+};
+
#endif /* DOLPHINPART_H */