summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2011-09-21 08:12:21 (GMT)
committerKevin Smith <git@kismith.co.uk>2011-09-21 08:52:40 (GMT)
commit20d3385909a2f9d886e7e0781357b23474e9f8dc (patch)
tree4ca6a60e0c2d598534a0767cefa75f58dbac4afa /Swift/QtUI/Roster/QtOccupantListWidget.h
parent703a1c28c3c87ac0fb365ff0683d7c64fcdd2210 (diff)
downloadswift-20d3385909a2f9d886e7e0781357b23474e9f8dc.zip
swift-20d3385909a2f9d886e7e0781357b23474e9f8dc.tar.bz2
Distinguish between Roster and MUC list widgets
Diffstat (limited to 'Swift/QtUI/Roster/QtOccupantListWidget.h')
-rw-r--r--Swift/QtUI/Roster/QtOccupantListWidget.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/Swift/QtUI/Roster/QtOccupantListWidget.h b/Swift/QtUI/Roster/QtOccupantListWidget.h
new file mode 100644
index 0000000..5444210
--- /dev/null
+++ b/Swift/QtUI/Roster/QtOccupantListWidget.h
@@ -0,0 +1,23 @@
+/*
+ * Copyright (c) 2011 Kevin Smith
+ * Licensed under the GNU General Public License v3.
+ * See Documentation/Licenses/GPLv3.txt for more information.
+ */
+
+#pragma once
+
+#include "Swift/QtUI/Roster/QtTreeWidget.h"
+
+namespace Swift {
+
+class QtOccupantListWidget : public QtTreeWidget {
+ Q_OBJECT
+ public:
+ QtOccupantListWidget(UIEventStream* eventStream, QWidget* parent = 0);
+ virtual ~QtOccupantListWidget();
+ protected:
+ void contextMenuEvent(QContextMenuEvent* event);
+};
+
+}
+