QObject facade for OrientationData.
More...
#include <orientation.h>
QObject facade for OrientationData.
Definition at line 36 of file orientation.h.
◆ DisplayOrientation
Display orientation.
- Deprecated:
- Not used.
Enumerator |
---|
OrientationUndefined | |
OrientationDisplayUp | |
OrientationDisplayDown | |
OrientationDisplayLeftUp | |
OrientationDisplayRightUp | |
OrientationDisplayUpwards | |
OrientationDisplayDownwards | |
Definition at line 51 of file orientation.h.
◆ Orientation() [1/3]
Orientation::Orientation |
( |
| ) |
|
|
inline |
◆ Orientation() [2/3]
Constructor.
- Parameters
-
orientationData | Source object. |
◆ Orientation() [3/3]
Orientation::Orientation |
( |
const Orientation & |
orientation | ) |
|
Copy constructor.
- Parameters
-
orientation | Source object. |
◆ orientation()
Accessor for display orientation.
- Returns
- display orientation.
- Deprecated:
- Returns always OrientationUndefined.
Definition at line 116 of file orientation.h.
◆ orientationData()
◆ x()
int Orientation::x |
( |
| ) |
const |
|
inline |
Accessor for X coordinate.
- Returns
- X coordinate.
Definition at line 93 of file orientation.h.
◆ y()
int Orientation::y |
( |
| ) |
const |
|
inline |
Accessor for Y coordinate.
- Returns
- Y coordinate.
Definition at line 100 of file orientation.h.
◆ z()
int Orientation::z |
( |
| ) |
const |
|
inline |
Accessor for Z coordinate.
- Returns
- Z coordinate.
Definition at line 107 of file orientation.h.
◆ operator>>
const QDBusArgument & operator>> |
( |
const QDBusArgument & |
argument, |
|
|
Orientation & |
orientation |
|
) |
| |
|
friend |
Unmarshall Orientation data from the D-Bus argument.
- Parameters
-
argument | dbus argument. |
orientation | unmarshalled data. |
- Returns
- dbus argument.
Definition at line 148 of file orientation.h.
◆ orientation
The documentation for this class was generated from the following file: