~ubuntu-branches/ubuntu/vivid/wpasupplicant/vivid

« back to all changes in this revision

Viewing changes to wpa_gui-qt4/eventhistory.ui.h

  • Committer: Bazaar Package Importer
  • Author(s): Kel Modderman
  • Date: 2006-10-05 08:04:01 UTC
  • mfrom: (1.1.5 upstream) (3 etch)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20061005080401-r8lqlix4390yos7b
Tags: 0.5.5-2
* Update madwifi headers to latest SVN. (Closes: #388316)
* Remove failed attempt at action locking. [debian/functions.sh,
  debian/wpa_action.sh]
* Add hysteresis checking functions, to avoid "event loops" while
  using wpa-roam. [debian/functions.sh, debian/wpa_action.sh]
* Change of co-maintainer email address.
* Add ishex() function to functions.sh to determine wpa-psk value type in
  plaintext or hex. This effectively eliminates the need for the bogus and
  somewhat confusing wpa-passphrase contruct specific to our scripts and
  allows wpa-psk to work with either a 8 to 63 character long plaintext
  string or 64 character long hex string.
* Adjust README.modes to not refer to the redundant wpa-passphrase stuff.
* Add big fat NOTE about acceptable wpa-psk's to top of example gallery.
* Strip surrounding quotes from wpa-ssid if present, instead of just whining
  about them.
* Update email address in copyright blurb of functions.sh, ifupdown.sh and
  wpa_action.sh.  

Show diffs side-by-side

added added

removed removed

Lines of Context:
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
 
*****************************************************************************/
12
 
 
13
 
void EventHistory::init()
14
 
{
15
 
}
16
 
 
17
 
 
18
 
void EventHistory::destroy()
19
 
{
20
 
}
21
 
 
22
 
 
23
 
void EventHistory::addEvents(WpaMsgList msgs)
24
 
{
25
 
    WpaMsgList::iterator it;
26
 
    for (it = msgs.begin(); it != msgs.end(); it++) {
27
 
        addEvent(*it);
28
 
    }
29
 
}
30
 
 
31
 
 
32
 
void EventHistory::addEvent(WpaMsg msg)
33
 
{
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);
41
 
}