diff options
Diffstat (limited to 'doc/scripting-api')
-rw-r--r-- | doc/scripting-api/gui.qdoc | 2 | ||||
-rw-r--r-- | doc/scripting-api/packagemanagercore.qdoc | 31 |
2 files changed, 31 insertions, 2 deletions
diff --git a/doc/scripting-api/gui.qdoc b/doc/scripting-api/gui.qdoc index 35539c6be..53a8d20c2 100644 --- a/doc/scripting-api/gui.qdoc +++ b/doc/scripting-api/gui.qdoc @@ -177,7 +177,7 @@ */ /*! - \qmlmethod void gui::setTextItems(object control, string[] items) + \qmlmethod void gui::setTextItems(object control, stringlist items) Updates the model of \a control (which must be a QComboBox or QAbstractItemView) such that it contains the given \a items. diff --git a/doc/scripting-api/packagemanagercore.qdoc b/doc/scripting-api/packagemanagercore.qdoc index 8a31f54ea..f0bf1a19a 100644 --- a/doc/scripting-api/packagemanagercore.qdoc +++ b/doc/scripting-api/packagemanagercore.qdoc @@ -346,7 +346,7 @@ */ /*! - \qmlmethod void installer::setFileDialogAutomaticAnswer(string identifier, string &value) + \qmlmethod void installer::setFileDialogAutomaticAnswer(string identifier, string value) Automatically sets the existing directory or filename \a value to QFileDialog with the ID \a identifier. @@ -363,6 +363,15 @@ */ /*! + \qmlmethod boolean installer::containsFileDialogAutomaticAnswer(string identifier) + + Returns \c true if QFileDialog with the ID \a identifier has an automatic answer set. + + \sa setFileDialogAutomaticAnswer + \sa removeFileDialogAutomaticAnswer +*/ + +/*! \qmlmethod float installer::requiredDiskSpace() Returns the additional estimated amount of disk space in bytes required after installation. @@ -553,6 +562,20 @@ */ /*! + \qmlmethod void installer::setAllowedRunningProcesses(stringlist processes) + + Sets additional \a processes that can run when + updating with the maintenance tool. +*/ + +/*! + \qmlmethod stringlist installer::allowedRunningProcesses() + + Returns processes that are allowed to run when updating with + the maintenance tool. +*/ + +/*! \qmlmethod void installer::setDependsOnLocalInstallerBinary() Makes sure the installer runs from a local drive. Otherwise the user will get an @@ -822,6 +845,12 @@ */ /*! + \qmlmethod boolean installer::isCommandLineInstance() + + Returns \c true if running as command line instance. +*/ + +/*! \qmlmethod boolean installer::runInstaller() Runs the installer. Returns \c true on success, \c false otherwise. |