summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2012-03-27 23:01:17 (GMT)
committerKevin Smith <git@kismith.co.uk>2012-04-12 14:09:34 (GMT)
commit2dcdee8e9f657c7f5c5d5c507373fd328beaa568 (patch)
treef6c0516afefdcf1561e32b45a415a387bc71f9d3 /Swift/QtUI/EventViewer/EventDelegate.h
parent0bf6afc5c01b9eb3024a8cfd04bfd743890db4f6 (diff)
downloadswift-2dcdee8e9f657c7f5c5d5c507373fd328beaa568.zip
swift-2dcdee8e9f657c7f5c5d5c507373fd328beaa568.tar.bz2
Refactoring incoming MUC invites UI.
Making MUC invites non-modal by moving them into the chat view. Adding event classes for invites so they turn up in 'Notices'-tab and generate notifications. License: This patch is BSD-licensed, see http://www.opensource.org/licenses/bsd-license.php
Diffstat (limited to 'Swift/QtUI/EventViewer/EventDelegate.h')
-rw-r--r--Swift/QtUI/EventViewer/EventDelegate.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Swift/QtUI/EventViewer/EventDelegate.h b/Swift/QtUI/EventViewer/EventDelegate.h
index 2ad741c..1ebaff2 100644
--- a/Swift/QtUI/EventViewer/EventDelegate.h
+++ b/Swift/QtUI/EventViewer/EventDelegate.h
@@ -12,7 +12,7 @@
#include "Swift/QtUI/EventViewer/TwoLineDelegate.h"
namespace Swift {
- enum EventType {MessageEventType, SubscriptionEventType, ErrorEventType};
+ enum EventType {MessageEventType, SubscriptionEventType, ErrorEventType, MUCInviteEventType};
class EventDelegate : public QStyledItemDelegate {
Q_OBJECT
public:
@@ -25,6 +25,7 @@ namespace Swift {
TwoLineDelegate messageDelegate_;
TwoLineDelegate subscriptionDelegate_;
TwoLineDelegate errorDelegate_;
+ TwoLineDelegate mucInviteDelegate_;
};
}