mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 02:39:28 +00:00
parent
473103dc95
commit
a3ec320bfb
8 changed files with 4 additions and 72 deletions
|
@ -1428,9 +1428,6 @@ cbindgen_private::NativeStyleMetrics::~NativeStyleMetrics()
|
|||
#endif // !defined(DOXYGEN)
|
||||
|
||||
namespace private_api {
|
||||
// Code generated by Slint <= 0.1.5 uses this enum with VersionCheckHelper
|
||||
enum class [[deprecated]] VersionCheck { Major = SLINT_VERSION_MAJOR, Minor = SLINT_VERSION_MINOR,
|
||||
Patch = SLINT_VERSION_PATCH };
|
||||
template<int Major, int Minor, int Patch>
|
||||
struct VersionCheckHelper
|
||||
{
|
||||
|
|
|
@ -649,13 +649,6 @@ public:
|
|||
}
|
||||
}
|
||||
|
||||
/// \deprecated rename to invoke()
|
||||
[[deprecated("renamed to invoke()")]] std::optional<Value>
|
||||
invoke_callback(std::string_view name, std::span<const Value> args) const
|
||||
{
|
||||
return invoke(name, args);
|
||||
}
|
||||
|
||||
/// Set a handler for the callback with the given name.
|
||||
///
|
||||
/// A callback with that name must be defined in the document otherwise the function
|
||||
|
@ -781,14 +774,6 @@ public:
|
|||
return {};
|
||||
}
|
||||
}
|
||||
|
||||
/// \deprecated renamed to invoke_global
|
||||
[[deprecated("renamed to invoke_global()")]] std::optional<Value>
|
||||
invoke_global_callback(std::string_view global, std::string_view callback_name,
|
||||
std::span<const Value> args) const
|
||||
{
|
||||
return invoke_global(global, callback_name, args);
|
||||
}
|
||||
};
|
||||
|
||||
/// ComponentDefinition is a representation of a compiled component from .slint markup.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue