summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/QtUI')
-rw-r--r--Swift/QtUI/ContextMenus/QtContextMenu.cpp8
-rw-r--r--Swift/QtUI/ContextMenus/QtContextMenu.h (renamed from Swift/QtUI/ContextMenus/QtContextmenu.h)2
-rw-r--r--Swift/QtUI/SConscript1
3 files changed, 11 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;
};
}
diff --git a/Swift/QtUI/SConscript b/Swift/QtUI/SConscript
index 9f6105e..b82cb7b 100644
--- a/Swift/QtUI/SConscript
+++ b/Swift/QtUI/SConscript
@@ -90,6 +90,7 @@ sources = [
"ChatList/ChatListDelegate.cpp",
"ChatList/ChatListMUCItem.cpp",
"ContextMenus/QtRosterContextMenu.cpp",
+ "ContextMenus/QtContextMenu.cpp",
"QtSubscriptionRequestWindow.cpp",
"QtRosterHeader.cpp",
"qrc_DefaultTheme.cc",