diff options
| author | Jesper K. Pedersen <jesper.pedersen@kdab.com> | 2013-05-21 07:51:42 +0000 |
|---|---|---|
| committer | Jesper K. Pedersen <jesper.pedersen@kdab.com> | 2013-05-22 12:18:22 +0200 |
| commit | 5439e054f33fb62fcecf497ebf5152a0fe508de8 (patch) | |
| tree | 51394fa29054d3782adff729e92acee74d0409c5 /scriptrunner.cpp | |
| parent | ebb0cc770f509e53968f3329ce27a723e748665f (diff) | |
added a git object
Unfortunately the whoel git project is Internal
Change-Id: Ice31dea4ce0f2ab1eb9c5d9b98b47cf5b34a5fc1
Reviewed-by: Tobias Nätterlund <tobias.naetterlund@kdab.com>
Diffstat (limited to 'scriptrunner.cpp')
| -rw-r--r-- | scriptrunner.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scriptrunner.cpp b/scriptrunner.cpp index a2e7e30..eed43f4 100644 --- a/scriptrunner.cpp +++ b/scriptrunner.cpp @@ -50,6 +50,7 @@ #include "objects/mark.h" #include "utils/utils.h" #include "objects/cppclass.h" +#include "objects/git.h" using namespace Scripting; using namespace Scripting::Internal; @@ -204,6 +205,7 @@ ScriptRunner::QScriptEnginePtr ScriptRunner::ensureEngineInitialized() registerGlobal(new Editors, QLatin1String("editors")); registerGlobal(new Dialogs, QLatin1String("dialogs")); registerGlobal(new Utils, QLatin1String("utils")); + registerGlobal(new Git, QLatin1String("git")); registerWrappers(m_engine.data()); registerEnums(m_engine.data()); |
