The SignalCounter class is a simplified version of QSignalSpy.  
 More...
#include <signal_counter.h>
|  | 
|  | SignalCounter (const QObject *object, const char *signal) | 
|  | SignalCounter constructor connects to the given signal and starts counting at 0.  More... 
 | 
|  | 
| int | count () | 
|  | Current count of signals that have been emitted.  More... 
 | 
|  | 
| void | reset_count () | 
|  | 
The SignalCounter class is a simplified version of QSignalSpy. 
  
  | 
        
          | SignalCounter::SignalCounter | ( | const QObject * | object, |  
          |  |  | const char * | signal |  
          |  | ) |  |  |  | inline | 
 
SignalCounter constructor connects to the given signal and starts counting at 0. 
- Parameters
- 
  
    | object | QObject that emits the signal to count |  | signal | that is counted |  
 
 
 
  
  | 
        
          | int SignalCounter::count | ( |  | ) |  |  | inline | 
 
Current count of signals that have been emitted. 
- Returns
- int 
 
 
The documentation for this class was generated from the following file: