6 #if QT_VERSION >= 0x040000
9 typedef QLinkedList
<WpaMsg
> WpaMsgList
;
11 #include <qdatetime.h>
12 typedef QValueList
<WpaMsg
> WpaMsgList
;
18 WpaMsg(const QString
&_msg
, int _priority
= 2)
19 : msg(_msg
), priority(_priority
)
21 timestamp
= QDateTime::currentDateTime();
24 QString
getMsg() const { return msg
; }
25 int getPriority() const { return priority
; }
26 QDateTime
getTimestamp() const { return timestamp
; }