From f39abd56db3ae23812dd649273cf21532fdc65c2 Mon Sep 17 00:00:00 2001 From: Martchus Date: Sun, 29 Apr 2018 18:59:41 +0200 Subject: [PATCH] Apply changes from jsincludes.h template --- renamingutility/jsdefs.h | 4 ++-- renamingutility/jsincludes.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/renamingutility/jsdefs.h b/renamingutility/jsdefs.h index cd1475b..fddf62d 100644 --- a/renamingutility/jsdefs.h +++ b/renamingutility/jsdefs.h @@ -1,4 +1,4 @@ -// Created via CMake from template webviewdefs.h.in +// Created via CMake from template jsdefs.h.in // WARNING! Any changes to this file will be overwritten by the next CMake run! #ifndef TAGEDITOR_JAVA_SCRIPT_DEFINES @@ -22,7 +22,7 @@ # define TAGEDITOR_JS_QOBJECT(engine, obj) engine.newQObject(obj, QScriptEngine::ScriptOwnership) # define TAGEDITOR_JS_INT(value) value.toInt32() # define TAGEDITOR_JS_IS_VALID_PROG(program) (!program.isError() && program.isFunction()) -#elif !defined(TAGEDITOR_NO_WEBVIEW) +#elif !defined(TAGEDITOR_NO_JSENGINE) # error "No definition for JavaScript provider present." #endif diff --git a/renamingutility/jsincludes.h b/renamingutility/jsincludes.h index c3a4984..b37666c 100644 --- a/renamingutility/jsincludes.h +++ b/renamingutility/jsincludes.h @@ -1,4 +1,4 @@ -// Created via CMake from template webviewdefs.h.in +// Created via CMake from template jsincludes.h.in // WARNING! Any changes to this file will be overwritten by the next CMake run! #ifndef TAGEDITOR_JAVA_SCRIPT_INCLUDES @@ -12,7 +12,7 @@ #elif defined(TAGEDITOR_USE_SCRIPT) # include # include -#elif !defined(TAGEDITOR_NO_WEBVIEW) +#elif !defined(TAGEDITOR_NO_JSENGINE) # error "No definition for JavaScript provider present." #endif