aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/pl/treksoft/kvision/form/check
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2020-02-27 15:28:16 +0100
committerRobert Jaros <rjaros@finn.pl>2020-02-27 15:28:16 +0100
commite4b5290e4898858612da882d9186b2aba548a9d9 (patch)
treeb9bbd4dbba14953fd9fba011b2c7f1e629c307d9 /src/main/kotlin/pl/treksoft/kvision/form/check
parentbff6c721074bda50e2d5a23d8aa96bf1f939f62a (diff)
downloadkvision-e4b5290e4898858612da882d9186b2aba548a9d9.tar.gz
kvision-e4b5290e4898858612da882d9186b2aba548a9d9.tar.bz2
kvision-e4b5290e4898858612da882d9186b2aba548a9d9.zip
Remove deprecated methods.
Style fixes.
Diffstat (limited to 'src/main/kotlin/pl/treksoft/kvision/form/check')
-rw-r--r--src/main/kotlin/pl/treksoft/kvision/form/check/CheckBox.kt9
-rw-r--r--src/main/kotlin/pl/treksoft/kvision/form/check/Radio.kt9
2 files changed, 0 insertions, 18 deletions
diff --git a/src/main/kotlin/pl/treksoft/kvision/form/check/CheckBox.kt b/src/main/kotlin/pl/treksoft/kvision/form/check/CheckBox.kt
index 7dae0f86..60147114 100644
--- a/src/main/kotlin/pl/treksoft/kvision/form/check/CheckBox.kt
+++ b/src/main/kotlin/pl/treksoft/kvision/form/check/CheckBox.kt
@@ -127,15 +127,6 @@ open class CheckBox(
return input.setEventListener(block)
}
- @Deprecated(
- "Use onEvent extension function instead.",
- ReplaceWith("onEvent(block)", "pl.treksoft.kvision.core.onEvent")
- )
- override fun setEventListener(block: SnOn<Widget>.() -> Unit): Int {
- @Suppress("DEPRECATION")
- return input.setEventListener(block)
- }
-
override fun removeEventListener(id: Int): Widget {
input.removeEventListener(id)
return this
diff --git a/src/main/kotlin/pl/treksoft/kvision/form/check/Radio.kt b/src/main/kotlin/pl/treksoft/kvision/form/check/Radio.kt
index 4d8a1607..b8757da2 100644
--- a/src/main/kotlin/pl/treksoft/kvision/form/check/Radio.kt
+++ b/src/main/kotlin/pl/treksoft/kvision/form/check/Radio.kt
@@ -137,15 +137,6 @@ open class Radio(
return input.setEventListener(block)
}
- @Deprecated(
- "Use onEvent extension function instead.",
- ReplaceWith("onEvent(block)", "pl.treksoft.kvision.core.onEvent")
- )
- override fun setEventListener(block: SnOn<Widget>.() -> Unit): Int {
- @Suppress("DEPRECATION")
- return input.setEventListener(block)
- }
-
override fun removeEventListener(id: Int): Widget {
input.removeEventListener(id)
return this