QtDataSync
4.2.0
A simple offline-first synchronisation framework, to synchronize data of Qt applications between devices
|
A login request done by another device to this device. More...
#include <accountmanager.h>
Public Member Functions | |
LoginRequest (const LoginRequest &other) | |
Copy constructor. | |
LoginRequest (LoginRequest &&other) noexcept | |
Move constructor. | |
LoginRequest & | operator= (const LoginRequest &other) |
Copy-Assignment operator. | |
LoginRequest & | operator= (LoginRequest &&other) noexcept |
Move-Assignment operator. | |
DeviceInfo | device () const |
READ accessor for LoginRequest::device. | |
bool | handled () const |
READ accessor for LoginRequest::handled. | |
Q_INVOKABLE void | accept () |
Accepts the login request if it has not been handled yet. Marks is as handled. | |
Q_INVOKABLE void | reject () |
Rejects the login request if it has not been handled yet. Marks is as handled. | |
Properties | |
QtDataSync::DeviceInfo | device |
The device that requested to be added to the account. More... | |
bool | handled |
Indicates whether this request has already been handled. More... | |
A login request done by another device to this device.
Definition at line 79 of file accountmanager.h.
|
read |
The device that requested to be added to the account.
Default: The device that requested the login
Accessors | |
---|---|
READ | device() |
CONSTANT{} |
Definition at line 85 of file accountmanager.h.
|
read |
Indicates whether this request has already been handled.
Default: false
Accessors | |
---|---|
READ | handled() |
CONSTANT{} |
Definition at line 87 of file accountmanager.h.