eventhistory.ui.h
Go to the documentation of this file.
00001 /****************************************************************************
00002 ** ui.h extension file, included from the uic-generated form implementation.
00003 **
00004 ** If you want to add, delete, or rename functions or slots, use
00005 ** Qt Designer to update this file, preserving your code.
00006 **
00007 ** You should not define a constructor or destructor in this file.
00008 ** Instead, write your code in functions called init() and destroy().
00009 ** These will automatically be called by the form's constructor and
00010 ** destructor.
00011 *****************************************************************************/
00012 
00013 void EventHistory::init()
00014 {
00015 }
00016 
00017 
00018 void EventHistory::destroy()
00019 {
00020 }
00021 
00022 
00023 void EventHistory::addEvents(WpaMsgList msgs)
00024 {
00025     WpaMsgList::iterator it;
00026     for (it = msgs.begin(); it != msgs.end(); it++) {
00027         addEvent(*it);
00028     }
00029 }
00030 
00031 
00032 void EventHistory::addEvent(WpaMsg msg)
00033 {
00034     Q3ListViewItem *item;
00035     item = new Q3ListViewItem(eventListView,
00036                              msg.getTimestamp().toString("yyyy-MM-dd hh:mm:ss.zzz"),
00037                              msg.getMsg());
00038     if (item == NULL)
00039         return;
00040     eventListView->setSelected(item, false);
00041 }


wpa_supplicant_node
Author(s): Package maintained by Blaise Gassend
autogenerated on Thu Jan 2 2014 11:25:14