1 /****************************************************************************
2 ** ui.h extension file, included from the uic-generated form implementation.
4 ** If you want to add, delete, or rename functions or slots, use
5 ** Qt Designer to update this file, preserving your code.
7 ** You should not define a constructor or destructor in this file.
8 ** Instead, write your code in functions called init() and destroy().
9 ** These will automatically be called by the form's constructor and
11 *****************************************************************************/
13 void EventHistory::init()
18 void EventHistory::destroy()
23 void EventHistory::addEvents(WpaMsgList msgs
)
25 WpaMsgList::iterator it
;
26 for (it
= msgs
.begin(); it
!= msgs
.end(); it
++) {
32 void EventHistory::addEvent(WpaMsg msg
)
35 item
= new Q3ListViewItem(eventListView
,
36 msg
.getTimestamp().toString("yyyy-MM-dd hh:mm:ss.zzz"),
40 eventListView
->setSelected(item
, false);