Deprecated List
globalScope> Member fileExists (const QString &name)
use QFile.exists(name) instead
globalScope> Member scriptHandleIncludes (QString source)
See include.cpp for the proper way to include scripts. This function will be removed, as will all examples of its use.
Member ScriptToolbox::addColumnXTreeWidget (QWidget *tree, const QString &, int, int, bool=true, const QString=QString(), const QString=QString())
Use XTreeWidget::addColumn directly.
Member ScriptToolbox::copyFile (const QString &oldName, const QString &newName)
Use QFile.copyFile(oldName, newName) instead
Member ScriptToolbox::costVal ()
Use mainwindow.costVal() instead.
Member ScriptToolbox::createGridLayout ()
Use QGridLayout instead.
Member ScriptToolbox::dayVal ()
Use mainwindow.dayVal() instead.
Member ScriptToolbox::fileExists (const QString &name)
Use QFile.exists(name) instead
Member ScriptToolbox::getCurrentDir ()
Use QDir.currentPath() instead
Member ScriptToolbox::getFileName (const QString &path)
Use var file = new QFileInfo(path).fileName() instead
Member ScriptToolbox::getHomeDir ()
Use QDir.homePath() instead
Member ScriptToolbox::getTempDir ()
Use QDir.tempPath() instead
Member ScriptToolbox::layoutBoxInsertWidget (QObject *, int index, QWidget *, int stretch=0, int alignment=0)
Use QBoxLayout::insertWidget directly
Member ScriptToolbox::layoutGridAddLayout (QObject *, QObject *, int row, int column, int alignment=0)
Use QGridLayout::addLayout instead
Member ScriptToolbox::layoutGridAddWidget (QObject *, QWidget *, int row, int column, int alignment=0)
Use QGridLayout::addWidget instead.
Member ScriptToolbox::layoutGridAddWidget (QObject *, QWidget *, int fromRow, int fromColumn, int rowSpan, int columnSpan, int alignment=0)
Use QGridLayout::addWidget instead.
Member ScriptToolbox::layoutStackedInsertWidget (QObject *, int index, QWidget *)
Use QStackedWidget::insertWidget instead.
Member ScriptToolbox::makePath (const QString &mkPath, const QString &rootPath)
Use var dir = new QDir(rootPath) followed by dir.mkpath(mkPath) instead
Member ScriptToolbox::menuAddAction (QObject *menu, const QString &text, const bool enabled=true)
Use QMenu::addAction instead.
Member ScriptToolbox::menuAddMenu (QObject *menu, const QString &text, const QString &name=QString())
Use QMenu::addAction instead.
Member ScriptToolbox::menuAddSeparator (QObject *menu)
Use QMenu::addSeparator instead.
Member ScriptToolbox::menuInsertAction (QObject *menu, QObject *before, const QString &name=QString(), const bool enabled=true)
Use QMenu::insertAction instead.
Member ScriptToolbox::menuInsertMenu (QObject *menu, QObject *before, const QString &name)
Use QMenu::insertMenu instead.
Member ScriptToolbox::menuInsertSeparator (QObject *menu, QObject *before)
Use QMenu::insertSeparator instead.
Member ScriptToolbox::menuRemove (QObject *menu, QObject *action)
Use QMenu::removeAction instead.
Member ScriptToolbox::messageBox (const QString &type, QWidget *parent, const QString &title, const QString &text, int buttons=0x00000400, int defaultButton=0x00000000)
Use QMessageBox.critical, QMessageBox.information, QMessageBox.question, or QMessageBox.warning.
Member ScriptToolbox::moneyVal ()
Use mainwindow.moneyVal() instead.
Member ScriptToolbox::negMoneyVal ()
Use mainwindow.negMoneyVal() instead.
Member ScriptToolbox::orderVal ()
Use mainwindow.orderVal() instead.
Member ScriptToolbox::percentVal ()
Use mainwindow.percentVal() instead.
Member ScriptToolbox::populateXTreeWidget (QWidget *tree, XSqlQuery pSql, bool=FALSE)
Use XTreeWidget::populate directly.
Member ScriptToolbox::priceVal ()
Use mainwindow.priceVal() instead.
Member ScriptToolbox::qtyPerVal ()
Use mainwindow.qtyPerVal() instead.
Member ScriptToolbox::qtyVal ()
Use mainwindow.qtyVal() instead.
Member ScriptToolbox::ratioVal ()
Use mainwindow.ratioVal() instead.
Member ScriptToolbox::removeFile (const QString &name)
Use QFile.removeFile(oldName, newName) instead
Member ScriptToolbox::removePath (const QString &rmPath, const QString &rootPath)
Use var dir = new QDir(rootPath) followed by dir.rmpath(rmPath) instead
Member ScriptToolbox::renameFile (const QString &oldName, const QString &newName)
Use QFile.rename(oldName, newName) instead
Member ScriptToolbox::rootPath ()
Use QDir.rootPath() instead
Member ScriptToolbox::runTimeVal ()
Use mainwindow.runTimeVal() instead.
Member ScriptToolbox::tabCount (QWidget *tab)
Use QTabWidget::count directly.
Member ScriptToolbox::tabInsertTab (QWidget *tab, int idx, QWidget *page, const QString &text)
Use QTabWidget::insertTab directly.
Member ScriptToolbox::tabRemoveTab (QWidget *tab, int idx)
Use QTabWidget::removeTab directly.
Member ScriptToolbox::tabSetTabEnabled (QWidget *tab, int idx, bool enable)
Use QTabWidget::setTabEnabled directly.
Member ScriptToolbox::tabSetTabText (QWidget *tab, int idx, const QString &text)
Use QTabWidget::setTabText directly.
Member ScriptToolbox::tabTabIndex (QWidget *tab, QWidget *page)
Use QTabWidget::indexOf directly.
Member ScriptToolbox::tabtabText (QWidget *tab, int idx)
Use QTabWidget::tabText directly.
Member ScriptToolbox::tabWidget (QWidget *tab, int idx)
Use QTabWidget::widget directly.
Member ScriptToolbox::TransQtyVal ()
Use mainwindow.transQtyVal() instead.
Member ScriptToolbox::weightVal ()
Use mainwindow.weightVal() instead.

Generated on Fri Oct 7 2016 15:37:56 xTuple ERP Programmer Reference, Version 4.5.0 doxygen 1.8.10