bump © years
[quassel.git] / src / common / messageevent.h
index 11e9987..cf77dce 100644 (file)
@@ -1,5 +1,5 @@
 /***************************************************************************
- *   Copyright (C) 2005-2010 by the Quassel Project                        *
+ *   Copyright (C) 2005-2012 by the Quassel Project                        *
  *   devel@quassel-irc.org                                                 *
  *                                                                         *
  *   This program is free software; you can redistribute it and/or modify  *
@@ -33,9 +33,10 @@ public:
   explicit MessageEvent(Message::Type msgType,
                         Network *network,
                         const QString &msg,
-                        const QString &target = QString(),
                         const QString &sender = QString(),
-                        Message::Flags msgFlags = Message::None
+                        const QString &target = QString(),
+                        Message::Flags msgFlags = Message::None,
+                        const QDateTime &timestamp = QDateTime()
                         );
 
   inline Message::Type msgType() const { return _msgType; }
@@ -69,7 +70,7 @@ private:
 
   Message::Type _msgType;
   BufferInfo::Type _bufferType;
-  QString _text, _target, _sender;
+  QString _text, _sender, _target;
   Message::Flags _msgFlags;
 };