Changeset View
Changeset View
Standalone View
Standalone View
src/dolphincontextmenu.h
Show First 20 Lines • Show All 64 Lines • ▼ Show 20 Line(s) | 51 | public: | |||
---|---|---|---|---|---|
65 | * is applied. If 0 is passed, the context menu | 65 | * is applied. If 0 is passed, the context menu | ||
66 | * is above the viewport. | 66 | * is above the viewport. | ||
67 | * @baseUrl Base URL of the viewport where the context menu | 67 | * @baseUrl Base URL of the viewport where the context menu | ||
68 | * should be opened. | 68 | * should be opened. | ||
69 | */ | 69 | */ | ||
70 | DolphinContextMenu(DolphinMainWindow* parent, | 70 | DolphinContextMenu(DolphinMainWindow* parent, | ||
71 | const QPoint& pos, | 71 | const QPoint& pos, | ||
72 | const KFileItem& fileInfo, | 72 | const KFileItem& fileInfo, | ||
73 | const QUrl& baseUrl); | 73 | const QUrl& baseUrl, | ||
74 | const KFileItemList selection); | ||||
74 | 75 | | |||
75 | ~DolphinContextMenu() override; | 76 | ~DolphinContextMenu() override; | ||
76 | 77 | | |||
77 | void setCustomActions(const QList<QAction*>& actions); | 78 | void setCustomActions(const QList<QAction*>& actions); | ||
78 | 79 | | |||
79 | /** | 80 | /** | ||
80 | * Opens the context menu model and returns the requested | 81 | * Opens the context menu model and returns the requested | ||
81 | * command, that should be triggered by the caller. If | 82 | * command, that should be triggered by the caller. If | ||
▲ Show 20 Lines • Show All 95 Lines • Show Last 20 Lines |