diff --git a/modules/web/html/html_builder.cpp b/modules/web/html/html_builder.cpp index e71f7f1d7..9a8ab760a 100644 --- a/modules/web/html/html_builder.cpp +++ b/modules/web/html/html_builder.cpp @@ -1334,7 +1334,7 @@ HTMLTag *HTMLBuilder::noscript() { return _tag.start("noscript"); } -HTMLTag *HTMLBuilder::object() { +HTMLTag *HTMLBuilder::objectt() { write_tag(); return _tag.start("object"); @@ -2229,7 +2229,7 @@ HTMLBuilder *HTMLBuilder::cnoscript() { return this; } -HTMLBuilder *HTMLBuilder::cobject() { +HTMLBuilder *HTMLBuilder::cobjectt() { write_tag(); result += ""; diff --git a/modules/web/html/html_builder.h b/modules/web/html/html_builder.h index c33be20bb..35766dd88 100644 --- a/modules/web/html/html_builder.h +++ b/modules/web/html/html_builder.h @@ -280,7 +280,7 @@ public: HTMLTag *nav(); HTMLTag *noframes(); // Not supported in HTML5. HTMLTag *noscript(); - HTMLTag *object(); + HTMLTag *objectt(); //, Like "object tag". As having a method named object() can cause issues. HTMLTag *ol(); HTMLTag *optgroup(); HTMLTag *option(); @@ -424,7 +424,7 @@ public: HTMLBuilder *cnav(); HTMLBuilder *cnoframes(); HTMLBuilder *cnoscript(); - HTMLBuilder *cobject(); + HTMLBuilder *cobjectt(); HTMLBuilder *c_ol(); HTMLBuilder *coptgroup(); HTMLBuilder *coption(); diff --git a/modules/web/html/html_builder_bind.cpp b/modules/web/html/html_builder_bind.cpp index 9e2e96339..0d082cb79 100644 --- a/modules/web/html/html_builder_bind.cpp +++ b/modules/web/html/html_builder_bind.cpp @@ -1599,7 +1599,7 @@ Ref<_HTMLTag> _HTMLBuilder::noscript() { return _tag->start("noscript"); } -Ref<_HTMLTag> _HTMLBuilder::object() { +Ref<_HTMLTag> _HTMLBuilder::objectt() { write_tag(); return _tag->start("object"); @@ -2443,7 +2443,7 @@ Ref<_HTMLBuilder> _HTMLBuilder::cnoscript() { return Ref<_HTMLBuilder>(this); } -Ref<_HTMLBuilder> _HTMLBuilder::cobject() { +Ref<_HTMLBuilder> _HTMLBuilder::cobjectt() { write_tag(); result += ""; @@ -3728,7 +3728,7 @@ void _HTMLBuilder::_bind_methods() { ClassDB::bind_method(D_METHOD("nav"), &_HTMLBuilder::nav); ClassDB::bind_method(D_METHOD("noframes"), &_HTMLBuilder::noframes); ClassDB::bind_method(D_METHOD("noscript"), &_HTMLBuilder::noscript); - ClassDB::bind_method(D_METHOD("object"), &_HTMLBuilder::object); + ClassDB::bind_method(D_METHOD("objectt"), &_HTMLBuilder::objectt); ClassDB::bind_method(D_METHOD("ol"), &_HTMLBuilder::ol); ClassDB::bind_method(D_METHOD("optgroup"), &_HTMLBuilder::optgroup); @@ -3876,7 +3876,7 @@ void _HTMLBuilder::_bind_methods() { ClassDB::bind_method(D_METHOD("cnoframes"), &_HTMLBuilder::cnoframes); ClassDB::bind_method(D_METHOD("cnoscript"), &_HTMLBuilder::cnoscript); - ClassDB::bind_method(D_METHOD("cobject"), &_HTMLBuilder::cobject); + ClassDB::bind_method(D_METHOD("cobjectt"), &_HTMLBuilder::cobjectt); ClassDB::bind_method(D_METHOD("c_ol"), &_HTMLBuilder::c_ol); ClassDB::bind_method(D_METHOD("coptgroup"), &_HTMLBuilder::coptgroup); ClassDB::bind_method(D_METHOD("coption"), &_HTMLBuilder::coption); diff --git a/modules/web/html/html_builder_bind.h b/modules/web/html/html_builder_bind.h index 01fab6564..d5948a988 100644 --- a/modules/web/html/html_builder_bind.h +++ b/modules/web/html/html_builder_bind.h @@ -294,7 +294,7 @@ public: Ref<_HTMLTag> nav(); Ref<_HTMLTag> noframes(); // Not supported in HTML5. Ref<_HTMLTag> noscript(); - Ref<_HTMLTag> object(); + Ref<_HTMLTag> objectt(); //, Like "object tag". As having a method named object() can cause issues. Ref<_HTMLTag> ol(); Ref<_HTMLTag> optgroup(); Ref<_HTMLTag> option(const String &value = ""); @@ -426,7 +426,7 @@ public: Ref<_HTMLBuilder> cnav(); Ref<_HTMLBuilder> cnoframes(); Ref<_HTMLBuilder> cnoscript(); - Ref<_HTMLBuilder> cobject(); + Ref<_HTMLBuilder> cobjectt(); Ref<_HTMLBuilder> c_ol(); Ref<_HTMLBuilder> coptgroup(); Ref<_HTMLBuilder> coption();