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