summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/QtUI/ContextMenus')
-rw-r--r--Swift/QtUI/ContextMenus/QtContextMenu.cpp8
-rw-r--r--Swift/QtUI/ContextMenus/QtContextMenu.h (renamed from Swift/QtUI/ContextMenus/QtContextmenu.h)2
2 files changed, 10 insertions, 0 deletions
diff --git a/Swift/QtUI/ContextMenus/QtContextMenu.cpp b/Swift/QtUI/ContextMenus/QtContextMenu.cpp
new file mode 100644
index 0000000..12bc80e
--- /dev/null
+++ b/Swift/QtUI/ContextMenus/QtContextMenu.cpp
@@ -0,0 +1,8 @@
+#include "ContextMenus/QtContextMenu.h"
+
+namespace Swift {
+
+QtContextMenu::~QtContextMenu() {
+}
+
+}
diff --git a/Swift/QtUI/ContextMenus/QtContextmenu.h b/Swift/QtUI/ContextMenus/QtContextMenu.h
index cc0227d..04c6acb 100644
--- a/Swift/QtUI/ContextMenus/QtContextmenu.h
+++ b/Swift/QtUI/ContextMenus/QtContextMenu.h
@@ -4,6 +4,8 @@ namespace Swift {
class QtTreeWidgetItem;
class QtContextMenu {
public:
+ virtual ~QtContextMenu();
+
virtual void show(QtTreeWidgetItem* item) = 0;
};
}