~ubuntu-branches/debian/experimental/quassel/experimental

« back to all changes in this revision

Viewing changes to src/uisupport/abstractnotificationbackend.h

  • Committer: Bazaar Package Importer
  • Author(s): Thomas Mueller
  • Date: 2009-10-05 23:13:06 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20091005231306-ngiajv5r0gbxjfoq
Tags: 0.5.0~rc2-1
* New upstream release (rc2)
* Make puiparts happy (closes: #538182)
* manageusers.py added (closes: #549296)

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
  Q_OBJECT
33
33
 
34
34
public:
 
35
  enum NotificationType {
 
36
    Highlight = 0x01,
 
37
    PrivMsg = 0x02,
 
38
    HighlightFocused = 0x11,
 
39
    PrivMsgFocused = 0x12
 
40
  };
 
41
 
35
42
  struct Notification {
36
43
    uint notificationId;
37
44
    BufferId bufferId;
 
45
    NotificationType type;
38
46
    QString sender;
39
47
    QString message;
40
48
 
41
 
    Notification(uint id_, BufferId buf_, const QString &sender_, const QString &msg_)
42
 
      : notificationId(id_), bufferId(buf_), sender(sender_), message(msg_) {};
 
49
    Notification(uint id_, BufferId buf_, NotificationType type_, const QString &sender_, const QString &msg_)
 
50
      : notificationId(id_), bufferId(buf_), type(type_), sender(sender_), message(msg_) {};
43
51
  };
44
52
 
45
53
  inline AbstractNotificationBackend(QObject *parent) : QObject(parent) {};