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.h>
#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 "xuiloader.h"
#include "getscreen.h"

Functions

bool fileExists (const QString &name)
 A wrapper arounc QFile::exists.
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.
void SetResponsefromScriptValue (const QScriptValue &obj, enum SetResponse &sr)
QScriptValue SetResponsetoScriptValue (QScriptEngine *engine, const enum SetResponse &sr)

Function Documentation

bool fileExists ( const QString name  ) 

A wrapper arounc QFile::exists.

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 
)

Generated on Tue Apr 20 12:02:28 2010 xTuple ERP Programmer Reference, Version 3.5.0 doxygen 1.6.1