QObject facade for CompassData.
More...
#include <compass.h>
List of all members.
Detailed Description
QObject facade for CompassData.
Definition at line 37 of file compass.h.
Constructor & Destructor Documentation
Compass::Compass |
( |
|
) |
[inline] |
Default constructor.
Definition at line 50 of file compass.h.
Compass::Compass |
( |
const CompassData & |
data, |
|
|
bool |
declinationCorrection = true | |
|
) |
| | |
Copy constructor.
- Parameters:
-
| data | Source object. |
| declinationCorrection | Use declination corrected value. |
Compass::Compass |
( |
const Compass & |
data |
) |
|
Copy constructor.
- Parameters:
-
Compass::Compass |
( |
const Compass & |
data, |
|
|
bool |
declinationCorrection | |
|
) |
| | |
Copy constructor.
- Parameters:
-
| data | Source object. |
| declinationCorrection | Use declination corrected value. |
Member Function Documentation
int Compass::degrees |
( |
|
) |
const [inline] |
Returns the value for degrees.
- Returns:
- degree value.
Definition at line 85 of file compass.h.
int Compass::level |
( |
|
) |
const [inline] |
Returns the value for level.
- Returns:
- level value.
Definition at line 91 of file compass.h.
Assignment operator.
- Parameters:
-
| origin | Source object for assigment. |
Definition at line 98 of file compass.h.
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.
Friends And Related Function Documentation
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.
Property Documentation
int Compass::degrees [read] |
int Compass::level [read] |
The documentation for this class was generated from the following file: