Share a single Linux ioctl helper fo setting interface up/down
[hostap-gosc2009.git] / wpa_supplicant / wpa_gui / eventhistory.ui.h
blobcb2caab2e4e183893a603d855ae39974e481b74f
1 /****************************************************************************
2 ** ui.h extension file, included from the uic-generated form implementation.
3 **
4 ** If you want to add, delete, or rename functions or slots, use
5 ** Qt Designer to update this file, preserving your code.
6 **
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
10 ** destructor.
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++) {
27 addEvent(*it);
32 void EventHistory::addEvent(WpaMsg msg)
34 Q3ListViewItem *item;
35 item = new Q3ListViewItem(eventListView,
36 msg.getTimestamp().toString("yyyy-MM-dd hh:mm:ss.zzz"),
37 msg.getMsg());
38 if (item == NULL)
39 return;
40 eventListView->setSelected(item, false);