List of all members | Signals | Public Member Functions | Protected Attributes
xTupleGuiClientInterface Class Reference

A concrete implementation of the GuiClientInterface allowing widgets to request services from the main application. More...

#include <xtupleguiclientinterface.h>

Inheritance diagram for xTupleGuiClientInterface:
GuiClientInterface QObject

Signals

void dbConnectionLost ()
 

Public Member Functions

 xTupleGuiClientInterface (QObject *pParent)
 
virtual void addDocumentWatch (QString path, int id)
 
virtual QActionfindAction (const QString pname)
 
virtual MetricsgetMetrics ()
 
virtual MetricsencgetMetricsenc ()
 
virtual MqlHashgetMqlHash ()
 
virtual PreferencesgetPreferences ()
 
virtual PrivilegesgetPrivileges ()
 
virtual ScriptCachegetScriptCache ()
 
virtual TaxIntegrationgetTaxIntegration ()
 
virtual int hunspell_add (const QString word)
 
virtual int hunspell_check (const QString word)
 
virtual int hunspell_ignore (const QString word)
 
virtual bool hunspell_ready ()
 
virtual const QStringList hunspell_suggest (const QString word)
 
virtual QWidgetopenWindow (const QString pname, ParameterList pparams, QWidget *parent=0, Qt::WindowModality modality=Qt::NonModal, Qt::WindowFlags flags=0)
 
virtual void removeDocumentWatch (QString path)
 
virtual void setMqlHash (MqlHash *pHash)
 
virtual void setScriptCache (ScriptCache *pCache)
 

Protected Attributes

MqlHash_mqlhash
 
ScriptCache_scriptCache
 

Detailed Description

A concrete implementation of the GuiClientInterface allowing widgets to request services from the main application.

The primary use of this class/interface is for individual widgets to open application-level windows.

Constructor & Destructor Documentation

◆ xTupleGuiClientInterface()

xTupleGuiClientInterface::xTupleGuiClientInterface ( QObject pParent)

Member Function Documentation

◆ addDocumentWatch()

void xTupleGuiClientInterface::addDocumentWatch ( QString  path,
int  id 
)
virtual

Implements GuiClientInterface.

◆ dbConnectionLost

void GuiClientInterface::dbConnectionLost ( )
signalinherited

◆ findAction()

QAction * xTupleGuiClientInterface::findAction ( const QString  pname)
virtual

Implements GuiClientInterface.

◆ getMetrics()

Metrics * xTupleGuiClientInterface::getMetrics ( )
virtual

Implements GuiClientInterface.

◆ getMetricsenc()

Metricsenc * xTupleGuiClientInterface::getMetricsenc ( )
virtual

Implements GuiClientInterface.

◆ getMqlHash()

MqlHash * xTupleGuiClientInterface::getMqlHash ( )
virtual

Implements GuiClientInterface.

◆ getPreferences()

Preferences * xTupleGuiClientInterface::getPreferences ( )
virtual

Implements GuiClientInterface.

◆ getPrivileges()

Privileges * xTupleGuiClientInterface::getPrivileges ( )
virtual

Implements GuiClientInterface.

◆ getScriptCache()

ScriptCache * xTupleGuiClientInterface::getScriptCache ( )
virtual

Implements GuiClientInterface.

◆ getTaxIntegration()

TaxIntegration * xTupleGuiClientInterface::getTaxIntegration ( )
virtual

Implements GuiClientInterface.

◆ hunspell_add()

int xTupleGuiClientInterface::hunspell_add ( const QString  word)
virtual

Implements GuiClientInterface.

◆ hunspell_check()

int xTupleGuiClientInterface::hunspell_check ( const QString  word)
virtual

Implements GuiClientInterface.

◆ hunspell_ignore()

int xTupleGuiClientInterface::hunspell_ignore ( const QString  word)
virtual

Implements GuiClientInterface.

◆ hunspell_ready()

bool xTupleGuiClientInterface::hunspell_ready ( )
virtual

Implements GuiClientInterface.

◆ hunspell_suggest()

const QStringList xTupleGuiClientInterface::hunspell_suggest ( const QString  word)
virtual

Implements GuiClientInterface.

◆ openWindow()

QWidget * xTupleGuiClientInterface::openWindow ( const QString  pname,
ParameterList  pparams,
QWidget parent = 0,
Qt::WindowModality  modality = Qt::NonModal,
Qt::WindowFlags  flags = 0 
)
virtual

Implements GuiClientInterface.

◆ removeDocumentWatch()

void xTupleGuiClientInterface::removeDocumentWatch ( QString  path)
virtual

Implements GuiClientInterface.

◆ setMqlHash()

void xTupleGuiClientInterface::setMqlHash ( MqlHash pHash)
virtual

Implements GuiClientInterface.

◆ setScriptCache()

void xTupleGuiClientInterface::setScriptCache ( ScriptCache pCache)
virtual

Implements GuiClientInterface.

Member Data Documentation

◆ _mqlhash

MqlHash* xTupleGuiClientInterface::_mqlhash
protected

◆ _scriptCache

ScriptCache* xTupleGuiClientInterface::_scriptCache
protected

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

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