QObject facade for CompassData.  
 More...
#include <compass.h>
QObject facade for CompassData. 
Definition at line 37 of file compass.h.
◆ Compass() [1/4]
Default constructor. 
Definition at line 50 of file compass.h.
 
 
◆ Compass() [2/4]
      
        
          | Compass::Compass | ( | const CompassData & | data, | 
        
          |  |  | bool | declinationCorrection = true | 
        
          |  | ) |  |  | 
      
 
Copy constructor. 
- Parameters
- 
  
    | data | Source object. |  | declinationCorrection | Use declination corrected value. |  
 
 
 
◆ Compass() [3/4]
      
        
          | Compass::Compass | ( | const Compass & | data | ) |  | 
      
 
Copy constructor. 
- Parameters
- 
  
  
 
 
◆ Compass() [4/4]
      
        
          | Compass::Compass | ( | const Compass & | data, | 
        
          |  |  | bool | declinationCorrection | 
        
          |  | ) |  |  | 
      
 
Copy constructor. 
- Parameters
- 
  
    | data | Source object. |  | declinationCorrection | Use declination corrected value. |  
 
 
 
◆ data()
◆ degrees()
  
  | 
        
          | int Compass::degrees | ( |  | ) | const |  | inline | 
 
Returns the value for degrees. 
- Returns
- degree value. 
Definition at line 85 of file compass.h.
 
 
◆ level()
  
  | 
        
          | int Compass::level | ( |  | ) | const |  | inline | 
 
Returns the value for level. 
- Returns
- level value. 
Definition at line 91 of file compass.h.
 
 
◆ operator=()
Assignment operator. 
- Parameters
- 
  
    | origin | Source object for assigment. |  
 
Definition at line 98 of file compass.h.
 
 
◆ operator==()
  
  | 
        
          | bool Compass::operator== | ( | const Compass & | right | ) | const |  | inline | 
 
Comparison operator. 
- Parameters
- 
  
    | right | Object to compare to. |  
 
- Returns
- comparison result. 
Definition at line 110 of file compass.h.
 
 
◆ operator>>
  
  | 
        
          | const QDBusArgument & operator>> | ( | const QDBusArgument & | argument, |  
          |  |  | Compass & | data |  
          |  | ) |  |  |  | friend | 
 
Unmarshall Compass data from the D-Bus argument. 
- Parameters
- 
  
    | argument | dbus argument. |  | data | unmarshalled data. |  
 
- Returns
- dbus argument. 
Definition at line 148 of file compass.h.
 
 
◆ degrees
◆ level
The documentation for this class was generated from the following file: