MCPcopy Create free account
hub / github.com/KDE/labplot / createContextMenu

Method createContextMenu

src/backend/core/Folder.cpp:56–64  ·  view source on GitHub ↗

* \brief Return a new context menu. * * The caller takes ownership of the menu. */

Source from the content-addressed store, hash-verified

54 * The caller takes ownership of the menu.
55 */
56QMenu* Folder::createContextMenu() {
57 if (project()
58#ifdef HAVE_MQTT
59 && type() != AspectType::MQTTSubscription
60#endif
61 )
62 return project()->createFolderContextMenu(this);
63 return nullptr;
64}
65
66bool Folder::isDraggable() const {
67 if (dynamic_cast<const Project*>(this))

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected