Functions
scripttoolbox.cpp File Reference
#include "scripttoolbox.h"
#include <QBoxLayout>
#include <QDateTime>
#include <QDesktopServices>
#include <QDir>
#include <QFile>
#include <QFileDialog>
#include <QGridLayout>
#include <QIODevice>
#include <QLayout>
#include <QList>
#include <QMenu>
#include <QMessageBox>
#include <QScriptEngine>
#include <QScriptValueIterator>
#include <QSqlError>
#include <QStackedLayout>
#include <QTabWidget>
#include <QTextStream>
#include <QUrl>
#include <QWidget>
#include <QWebView>
#include <parameter.h>
#include <metasql.h>
#include <openreports.h>
#include "creditCard.h"
#include "creditcardprocessor.h"
#include "mqlutil.h"
#include "storedProcErrorLookup.h"
#include "xdialog.h"
#include "xmainwindow.h"
#include "xtreewidget.h"
#include "display.h"
#include "xuiloader.h"
#include "getscreen.h"

Functions

bool fileExists (const QString &name)
 
void ParameterGroupStatesfromScriptValue (const QScriptValue &obj, enum ParameterGroup::ParameterGroupStates &en)
 
QScriptValue ParameterGroupStatestoScriptValue (QScriptEngine *engine, const enum ParameterGroup::ParameterGroupStates &en)
 
void ParameterGroupTypesfromScriptValue (const QScriptValue &obj, enum ParameterGroup::ParameterGroupTypes &en)
 
QScriptValue ParameterGroupTypestoScriptValue (QScriptEngine *engine, const enum ParameterGroup::ParameterGroupTypes &en)
 
void QtWindowModalityfromScriptValue (const QScriptValue &obj, enum Qt::WindowModality &en)
 
QScriptValue QtWindowModalitytoScriptValue (QScriptEngine *engine, const enum Qt::WindowModality &en)
 
void SaveFlagsfromScriptValue (const QScriptValue &obj, enum SaveFlags &en)
 
QScriptValue SaveFlagstoScriptValue (QScriptEngine *engine, const enum SaveFlags &en)
 
QString scriptHandleIncludes (QString source)
 C++ implementation of the original script include mechanism. More...
 
void SetResponsefromScriptValue (const QScriptValue &obj, enum SetResponse &sr)
 
QScriptValue SetResponsetoScriptValue (QScriptEngine *engine, const enum SetResponse &sr)
 
void WindowSystemfromScriptValue (const QScriptValue &obj, enum GUIClient::WindowSystem &en)
 
QScriptValue WindowSystemtoScriptValue (QScriptEngine *engine, const enum GUIClient::WindowSystem &en)
 

Function Documentation

bool fileExists ( const QString &  name)
Deprecated:
use QFile.exists(name) instead
void ParameterGroupStatesfromScriptValue ( const QScriptValue &  obj,
enum ParameterGroup::ParameterGroupStates en 
)
QScriptValue ParameterGroupStatestoScriptValue ( QScriptEngine *  engine,
const enum ParameterGroup::ParameterGroupStates en 
)
void ParameterGroupTypesfromScriptValue ( const QScriptValue &  obj,
enum ParameterGroup::ParameterGroupTypes en 
)
QScriptValue ParameterGroupTypestoScriptValue ( QScriptEngine *  engine,
const enum ParameterGroup::ParameterGroupTypes en 
)
void QtWindowModalityfromScriptValue ( const QScriptValue &  obj,
enum Qt::WindowModality &  en 
)
QScriptValue QtWindowModalitytoScriptValue ( QScriptEngine *  engine,
const enum Qt::WindowModality &  en 
)
void SaveFlagsfromScriptValue ( const QScriptValue &  obj,
enum SaveFlags en 
)
QScriptValue SaveFlagstoScriptValue ( QScriptEngine *  engine,
const enum SaveFlags en 
)
QString scriptHandleIncludes ( QString  source)

C++ implementation of the original script include mechanism.

This is the first implementation of script inclusion. It should never be called.

Deprecated:
See include.cpp for the proper way to include scripts. This function will be removed, as will all examples of its use.
See also
include
void SetResponsefromScriptValue ( const QScriptValue &  obj,
enum SetResponse sr 
)
QScriptValue SetResponsetoScriptValue ( QScriptEngine *  engine,
const enum SetResponse sr 
)
void WindowSystemfromScriptValue ( const QScriptValue &  obj,
enum GUIClient::WindowSystem en 
)
QScriptValue WindowSystemtoScriptValue ( QScriptEngine *  engine,
const enum GUIClient::WindowSystem en 
)

Generated on Fri Oct 7 2016 14:23:27 xTuple ERP Programmer Reference, Version 4.2.0 doxygen 1.8.10