diff options
author | Kevin Smith <git@kismith.co.uk> | 2011-09-21 08:12:21 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2011-09-21 08:52:40 (GMT) |
commit | 20d3385909a2f9d886e7e0781357b23474e9f8dc (patch) | |
tree | 4ca6a60e0c2d598534a0767cefa75f58dbac4afa /Swift/QtUI/Roster/QtOccupantListWidget.h | |
parent | 703a1c28c3c87ac0fb365ff0683d7c64fcdd2210 (diff) | |
download | swift-contrib-20d3385909a2f9d886e7e0781357b23474e9f8dc.zip swift-contrib-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.h | 23 |
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); +}; + +} + |