Skip to content

Class QfCloudAttachmentsWatcher

ClassList > QfCloudAttachmentsWatcher

More...

  • #include <qfcloudattachmentswatcher.h>

Inherits the following classes: QObject

Public Signals

Type Name
signal void queueChanged
Emitted when the pending attachments queue has changed.
signal void queueFinished
Emitted when an outstanding pending attachments queue has been emptied.

Public Functions

Type Name
QfCloudAttachmentsWatcher (QObject * parent=nullptr)
bool active () const
Returns TRUE when the pending attachments queue is being watched.
QfCloudConnection * cloudConnection () const
Returns the cloud connection whose user's pending attachments queue is watched.
void setActive (bool active)
Sets whether the pending attachments queue is being watched.
void setCloudConnection (QfCloudConnection * cloudConnection)
Sets the cloudConnection whose user's pending attachments queue is watched.
~QfCloudAttachmentsWatcher () override

Detailed Description

Watches the QFieldCloud pending attachments queue and signals when it has changed.

Public Signals Documentation

signal queueChanged

Emitted when the pending attachments queue has changed.

void QfCloudAttachmentsWatcher::queueChanged;


signal queueFinished

Emitted when an outstanding pending attachments queue has been emptied.

void QfCloudAttachmentsWatcher::queueFinished;


Public Functions Documentation

function QfCloudAttachmentsWatcher

explicit QfCloudAttachmentsWatcher::QfCloudAttachmentsWatcher (
    QObject * parent=nullptr
) 

function active

Returns TRUE when the pending attachments queue is being watched.

bool QfCloudAttachmentsWatcher::active () const


function cloudConnection

Returns the cloud connection whose user's pending attachments queue is watched.

QfCloudConnection * QfCloudAttachmentsWatcher::cloudConnection () const


function setActive

Sets whether the pending attachments queue is being watched.

void QfCloudAttachmentsWatcher::setActive (
    bool active
) 


function setCloudConnection

Sets the cloudConnection whose user's pending attachments queue is watched.

void QfCloudAttachmentsWatcher::setCloudConnection (
    QfCloudConnection * cloudConnection
) 


function ~QfCloudAttachmentsWatcher

QfCloudAttachmentsWatcher::~QfCloudAttachmentsWatcher () override


The documentation for this class was generated from the following file src/core/qfieldcloud/qfcloudattachmentswatcher.h