diff options
author | Tim Jenssen <tim.jenssen@digia.com> | 2013-05-08 13:26:41 +0200 |
---|---|---|
committer | Tim Jenssen <tim.jenssen@digia.com> | 2013-05-16 16:12:52 +0200 |
commit | 06449248ab638d3ebb23f03e56450f10b4acbb5c (patch) | |
tree | a4fb331a237b6ad5bcf2857f75fe689b505386a5 /src/libs/installer/qinstallerglobal.h | |
parent | 89ee32bea7d9cdfb426d3400e940a6b006b2b2f7 (diff) |
introduce installerscriptengine
- it uses one scriptengine for everything and adds the components
or/and the install-controller in javascript closure contexts
- added the gui object to the component script context
- removed tabController from controlscript context
Change-Id: I3bd6c5dcf470666c30add1b7d04a8fdd094f5f11
Reviewed-by: Iikka Eklund <iikka.eklund@digia.com>
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
Diffstat (limited to 'src/libs/installer/qinstallerglobal.h')
-rw-r--r-- | src/libs/installer/qinstallerglobal.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/libs/installer/qinstallerglobal.h b/src/libs/installer/qinstallerglobal.h index 7f0fbbbc0..427586266 100644 --- a/src/libs/installer/qinstallerglobal.h +++ b/src/libs/installer/qinstallerglobal.h @@ -48,13 +48,6 @@ #include <kdupdaterupdateoperation.h> #include <kdupdaterpackagesinfo.h> -QT_BEGIN_NAMESPACE -class QScriptContext; -class QScriptEngine; -class QScriptValue; -QT_END_NAMESPACE - - namespace QInstaller { enum INSTALLER_EXPORT JobError @@ -78,14 +71,6 @@ typedef QList<QInstaller::Package*> PackagesList; typedef KDUpdater::PackageInfo LocalPackage; typedef QHash<QString, LocalPackage> LocalPackagesHash; -QString INSTALLER_EXPORT uncaughtExceptionString(QScriptEngine *scriptEngine, const QString &context = QString()); -QScriptValue qInstallerComponentByName(QScriptContext *context, QScriptEngine *engine); - -QScriptValue qDesktopServicesOpenUrl(QScriptContext *context, QScriptEngine *engine); -QScriptValue qDesktopServicesDisplayName(QScriptContext *context, QScriptEngine *engine); -QScriptValue qDesktopServicesStorageLocation(QScriptContext *context, QScriptEngine *engine); -QScriptValue qFileDialogGetExistingDirectory(QScriptContext *context, QScriptEngine *engine); - } // namespace QInstaller #endif // QINSTALLER_GLOBAL_H |