Changeset 232

Show
Ignore:
Timestamp:
02/03/06 03:13:36 (3 years ago)
Author:
edmanm
Message:

Update the custom event handlers in MessageLog? and BandwidthGraph? to look in
the new namespace for custom event types.

Location:
trunk/src/gui
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/gui/bwgraph/bwgraph.cpp

    r223 r232  
    7777BandwidthGraph::customEvent(QEvent *event) 
    7878{ 
    79   if (event->type() == EventType::BandwidthEvent) { 
     79  if (event->type() == CustomEventType::BandwidthEvent) { 
    8080    BandwidthEvent *bw = (BandwidthEvent *)event; 
    8181    updateGraph(bw->bytesRead(), bw->bytesWritten()); 
  • trunk/src/gui/messagelog/messagelog.cpp

    r224 r232  
    568568MessageLog::customEvent(QEvent *event) 
    569569{ 
    570   if (event->type() == EventType::LogEvent) { 
     570  if (event->type() == CustomEventType::LogEvent) { 
    571571    LogEvent *log = (LogEvent *)event; 
    572572    write(log->severity(), log->message());