sensorfw
|
QObject facade for OrientationData. More...
#include <orientation.h>
Public Types | |
enum | DisplayOrientation { OrientationUndefined = 0, OrientationDisplayUp, OrientationDisplayDown, OrientationDisplayLeftUp, OrientationDisplayRightUp, OrientationDisplayUpwards, OrientationDisplayDownwards } |
Display orientation. More... | |
Public Member Functions | |
Orientation () | |
Default constructor. | |
Orientation (const OrientationData &orientationData) | |
Constructor. | |
Orientation (const Orientation &orientation) | |
Copy constructor. | |
const OrientationData & | orientationData () const |
Accessor for contained OrientationData. | |
int | x () const |
Accessor for X coordinate. | |
int | y () const |
Accessor for Y coordinate. | |
int | z () const |
Accessor for Z coordinate. | |
DisplayOrientation | orientation () const |
Accessor for display orientation. | |
Properties | |
int | x |
int | y |
int | z |
DisplayOrientation | orientation |
Friends | |
const QDBusArgument & | operator>> (const QDBusArgument &argument, Orientation &orientation) |
Unmarshall Orientation data from the D-Bus argument. |
QObject facade for OrientationData.
Definition at line 36 of file orientation.h.
Display orientation.
OrientationUndefined | |
OrientationDisplayUp | |
OrientationDisplayDown | |
OrientationDisplayLeftUp | |
OrientationDisplayRightUp | |
OrientationDisplayUpwards | |
OrientationDisplayDownwards |
Definition at line 51 of file orientation.h.
Orientation::Orientation | ( | ) | [inline] |
Default constructor.
Definition at line 65 of file orientation.h.
Orientation::Orientation | ( | const OrientationData & | orientationData | ) |
Constructor.
orientationData | Source object. |
Orientation::Orientation | ( | const Orientation & | orientation | ) |
Copy constructor.
orientation | Source object. |
DisplayOrientation Orientation::orientation | ( | ) | const [inline] |
Accessor for display orientation.
Definition at line 116 of file orientation.h.
const OrientationData& Orientation::orientationData | ( | ) | const [inline] |
Accessor for contained OrientationData.
Definition at line 86 of file orientation.h.
int Orientation::x | ( | ) | const [inline] |
int Orientation::y | ( | ) | const [inline] |
int Orientation::z | ( | ) | const [inline] |
const QDBusArgument& operator>> | ( | const QDBusArgument & | argument, |
Orientation & | orientation | ||
) | [friend] |
Unmarshall Orientation data from the D-Bus argument.
argument | dbus argument. |
orientation | unmarshalled data. |
Definition at line 148 of file orientation.h.
Definition at line 43 of file orientation.h.
int Orientation::x [read] |
Definition at line 40 of file orientation.h.
int Orientation::y [read] |
Definition at line 41 of file orientation.h.
int Orientation::z [read] |
Definition at line 42 of file orientation.h.