List of all members | Public Member Functions
AppLockProto Class Reference

#include <applock.h>

Inheritance diagram for AppLockProto:
QObject QScriptable

Public Member Functions

 AppLockProto (QObject *parent)
 
Q_INVOKABLE bool acquire (AppLock::AcquireMode mode)
 
Q_INVOKABLE bool acquire (QString table, int id, AppLock::AcquireMode mode)
 
Q_INVOKABLE bool holdsLock () const
 
Q_INVOKABLE bool isLockedOut () const
 
Q_INVOKABLE QString lastError () const
 
Q_INVOKABLE bool release ()
 
Q_INVOKABLE QString toString () const
 

Constructor & Destructor Documentation

◆ AppLockProto()

AppLockProto::AppLockProto ( QObject parent)

Member Function Documentation

◆ acquire() [1/2]

bool AppLockProto::acquire ( AppLock::AcquireMode  mode)

◆ acquire() [2/2]

bool AppLockProto::acquire ( QString  table,
int  id,
AppLock::AcquireMode  mode 
)

◆ holdsLock()

bool AppLockProto::holdsLock ( ) const

◆ isLockedOut()

bool AppLockProto::isLockedOut ( ) const

◆ lastError()

QString AppLockProto::lastError ( ) const

◆ release()

bool AppLockProto::release ( )

◆ toString()

QString AppLockProto::toString ( ) const

The documentation for this class was generated from the following files:

Generated on Fri Apr 9 2021 xTuple ERP Programmer Reference, Version 6.0.0 doxygen 1.8.17