From 789cb3b7352e9c2f60bef578884aa42582623bdf Mon Sep 17 00:00:00 2001 From: Aurindam Jana Date: Thu, 15 Jun 2023 11:21:16 +0200 Subject: [PATCH] Set MIT license to snippets under doc (#2891) --- docs/language/src/recipes/button_native.slint | 2 +- docs/tutorial/cpp/src/main_game_logic.cpp | 2 +- docs/tutorial/cpp/src/main_initial.cpp | 2 +- docs/tutorial/cpp/src/main_tiles_from_cpp.cpp | 2 +- docs/tutorial/cpp/src/memory.slint | 2 +- docs/tutorial/cpp/src/memory_game_logic.slint | 2 +- docs/tutorial/cpp/src/memory_tile.slint | 2 +- docs/tutorial/cpp/src/memory_tiles_from_cpp.slint | 2 +- docs/tutorial/node/src/main_game_logic.js | 2 +- docs/tutorial/node/src/main_initial.js | 2 +- docs/tutorial/node/src/main_tiles_from_js.js | 2 +- docs/tutorial/node/src/memory.slint | 2 +- docs/tutorial/node/src/memory_game_logic.slint | 2 +- docs/tutorial/node/src/memory_tile.slint | 2 +- docs/tutorial/node/src/memory_tiles_from_cpp.slint | 2 +- docs/tutorial/rust/src/main_game_logic_in_rust.rs | 2 +- docs/tutorial/rust/src/main_initial.rs | 2 +- docs/tutorial/rust/src/main_memory_tile.rs | 2 +- docs/tutorial/rust/src/main_multiple_tiles.rs | 2 +- docs/tutorial/rust/src/main_polishing_the_tile.rs | 2 +- docs/tutorial/rust/src/main_tiles_from_rust.rs | 2 +- docs/tutorial/theme/highlight.js | 2 +- 22 files changed, 22 insertions(+), 22 deletions(-) diff --git a/docs/language/src/recipes/button_native.slint b/docs/language/src/recipes/button_native.slint index fcae53ba059..da88570e7b8 100644 --- a/docs/language/src/recipes/button_native.slint +++ b/docs/language/src/recipes/button_native.slint @@ -1,5 +1,5 @@ // Copyright © SixtyFPS GmbH -// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial +// SPDX-License-Identifier: MIT import { VerticalBox, Button } from "std-widgets.slint"; export Recipe := Window { diff --git a/docs/tutorial/cpp/src/main_game_logic.cpp b/docs/tutorial/cpp/src/main_game_logic.cpp index fcdab5b4815..9b50ffad44f 100644 --- a/docs/tutorial/cpp/src/main_game_logic.cpp +++ b/docs/tutorial/cpp/src/main_game_logic.cpp @@ -1,5 +1,5 @@ // Copyright © SixtyFPS GmbH -// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial +// SPDX-License-Identifier: MIT // clang-format off // main.cpp diff --git a/docs/tutorial/cpp/src/main_initial.cpp b/docs/tutorial/cpp/src/main_initial.cpp index ecf7ad61095..067347902e7 100644 --- a/docs/tutorial/cpp/src/main_initial.cpp +++ b/docs/tutorial/cpp/src/main_initial.cpp @@ -1,5 +1,5 @@ // Copyright © SixtyFPS GmbH -// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial +// SPDX-License-Identifier: MIT // ANCHOR: main // main.cpp diff --git a/docs/tutorial/cpp/src/main_tiles_from_cpp.cpp b/docs/tutorial/cpp/src/main_tiles_from_cpp.cpp index 35cf5460dde..4b41e5a9519 100644 --- a/docs/tutorial/cpp/src/main_tiles_from_cpp.cpp +++ b/docs/tutorial/cpp/src/main_tiles_from_cpp.cpp @@ -1,5 +1,5 @@ // Copyright © SixtyFPS GmbH -// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial +// SPDX-License-Identifier: MIT // main.cpp diff --git a/docs/tutorial/cpp/src/memory.slint b/docs/tutorial/cpp/src/memory.slint index 75661fb37c3..91c09a2002f 100644 --- a/docs/tutorial/cpp/src/memory.slint +++ b/docs/tutorial/cpp/src/memory.slint @@ -1,5 +1,5 @@ // Copyright © SixtyFPS GmbH -// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial +// SPDX-License-Identifier: MIT // ANCHOR: main_window // memory.slint diff --git a/docs/tutorial/cpp/src/memory_game_logic.slint b/docs/tutorial/cpp/src/memory_game_logic.slint index 9b872ab5776..a906a6cfb9a 100644 --- a/docs/tutorial/cpp/src/memory_game_logic.slint +++ b/docs/tutorial/cpp/src/memory_game_logic.slint @@ -1,5 +1,5 @@ // Copyright © SixtyFPS GmbH -// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial +// SPDX-License-Identifier: MIT struct TileData { image: image, diff --git a/docs/tutorial/cpp/src/memory_tile.slint b/docs/tutorial/cpp/src/memory_tile.slint index 221e45b4fdd..a8419dc877d 100644 --- a/docs/tutorial/cpp/src/memory_tile.slint +++ b/docs/tutorial/cpp/src/memory_tile.slint @@ -1,5 +1,5 @@ // Copyright © SixtyFPS GmbH -// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial +// SPDX-License-Identifier: MIT // ANCHOR: main_window component MemoryTile inherits Rectangle { diff --git a/docs/tutorial/cpp/src/memory_tiles_from_cpp.slint b/docs/tutorial/cpp/src/memory_tiles_from_cpp.slint index d0b7c122817..4fee0b2939e 100644 --- a/docs/tutorial/cpp/src/memory_tiles_from_cpp.slint +++ b/docs/tutorial/cpp/src/memory_tiles_from_cpp.slint @@ -1,5 +1,5 @@ // Copyright © SixtyFPS GmbH -// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial +// SPDX-License-Identifier: MIT struct TileData { image: image, diff --git a/docs/tutorial/node/src/main_game_logic.js b/docs/tutorial/node/src/main_game_logic.js index 59f7c50abd6..74a93717f20 100644 --- a/docs/tutorial/node/src/main_game_logic.js +++ b/docs/tutorial/node/src/main_game_logic.js @@ -1,5 +1,5 @@ // Copyright © SixtyFPS GmbH -// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial +// SPDX-License-Identifier: MIT // main.js diff --git a/docs/tutorial/node/src/main_initial.js b/docs/tutorial/node/src/main_initial.js index d0a090e5c49..5441d2b8b2c 100644 --- a/docs/tutorial/node/src/main_initial.js +++ b/docs/tutorial/node/src/main_initial.js @@ -1,5 +1,5 @@ // Copyright © SixtyFPS GmbH -// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial +// SPDX-License-Identifier: MIT // ANCHOR: main // main.js diff --git a/docs/tutorial/node/src/main_tiles_from_js.js b/docs/tutorial/node/src/main_tiles_from_js.js index 1e112fd444c..69a77dc31f4 100644 --- a/docs/tutorial/node/src/main_tiles_from_js.js +++ b/docs/tutorial/node/src/main_tiles_from_js.js @@ -1,5 +1,5 @@ // Copyright © SixtyFPS GmbH -// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial +// SPDX-License-Identifier: MIT // ANCHOR: main // main.js diff --git a/docs/tutorial/node/src/memory.slint b/docs/tutorial/node/src/memory.slint index 75661fb37c3..91c09a2002f 100644 --- a/docs/tutorial/node/src/memory.slint +++ b/docs/tutorial/node/src/memory.slint @@ -1,5 +1,5 @@ // Copyright © SixtyFPS GmbH -// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial +// SPDX-License-Identifier: MIT // ANCHOR: main_window // memory.slint diff --git a/docs/tutorial/node/src/memory_game_logic.slint b/docs/tutorial/node/src/memory_game_logic.slint index 9b872ab5776..a906a6cfb9a 100644 --- a/docs/tutorial/node/src/memory_game_logic.slint +++ b/docs/tutorial/node/src/memory_game_logic.slint @@ -1,5 +1,5 @@ // Copyright © SixtyFPS GmbH -// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial +// SPDX-License-Identifier: MIT struct TileData { image: image, diff --git a/docs/tutorial/node/src/memory_tile.slint b/docs/tutorial/node/src/memory_tile.slint index 221e45b4fdd..a8419dc877d 100644 --- a/docs/tutorial/node/src/memory_tile.slint +++ b/docs/tutorial/node/src/memory_tile.slint @@ -1,5 +1,5 @@ // Copyright © SixtyFPS GmbH -// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial +// SPDX-License-Identifier: MIT // ANCHOR: main_window component MemoryTile inherits Rectangle { diff --git a/docs/tutorial/node/src/memory_tiles_from_cpp.slint b/docs/tutorial/node/src/memory_tiles_from_cpp.slint index d0b7c122817..4fee0b2939e 100644 --- a/docs/tutorial/node/src/memory_tiles_from_cpp.slint +++ b/docs/tutorial/node/src/memory_tiles_from_cpp.slint @@ -1,5 +1,5 @@ // Copyright © SixtyFPS GmbH -// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial +// SPDX-License-Identifier: MIT struct TileData { image: image, diff --git a/docs/tutorial/rust/src/main_game_logic_in_rust.rs b/docs/tutorial/rust/src/main_game_logic_in_rust.rs index 22c817a455d..0d46317706b 100644 --- a/docs/tutorial/rust/src/main_game_logic_in_rust.rs +++ b/docs/tutorial/rust/src/main_game_logic_in_rust.rs @@ -1,5 +1,5 @@ // Copyright © SixtyFPS GmbH -// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial +// SPDX-License-Identifier: MIT #[allow(dead_code)] fn main() { diff --git a/docs/tutorial/rust/src/main_initial.rs b/docs/tutorial/rust/src/main_initial.rs index 6f08979c2fe..4173cc54b5c 100644 --- a/docs/tutorial/rust/src/main_initial.rs +++ b/docs/tutorial/rust/src/main_initial.rs @@ -1,5 +1,5 @@ // Copyright © SixtyFPS GmbH -// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial +// SPDX-License-Identifier: MIT #[allow(dead_code)] // ANCHOR: main diff --git a/docs/tutorial/rust/src/main_memory_tile.rs b/docs/tutorial/rust/src/main_memory_tile.rs index 2ba9f9f98e8..b46aa6301c9 100644 --- a/docs/tutorial/rust/src/main_memory_tile.rs +++ b/docs/tutorial/rust/src/main_memory_tile.rs @@ -1,5 +1,5 @@ // Copyright © SixtyFPS GmbH -// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial +// SPDX-License-Identifier: MIT #[allow(dead_code)] fn main() { diff --git a/docs/tutorial/rust/src/main_multiple_tiles.rs b/docs/tutorial/rust/src/main_multiple_tiles.rs index acdd8d73ee5..970ced54b36 100644 --- a/docs/tutorial/rust/src/main_multiple_tiles.rs +++ b/docs/tutorial/rust/src/main_multiple_tiles.rs @@ -1,5 +1,5 @@ // Copyright © SixtyFPS GmbH -// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial +// SPDX-License-Identifier: MIT #[allow(dead_code)] fn main() { diff --git a/docs/tutorial/rust/src/main_polishing_the_tile.rs b/docs/tutorial/rust/src/main_polishing_the_tile.rs index 2c6d67ae55c..19b3d1c4f79 100644 --- a/docs/tutorial/rust/src/main_polishing_the_tile.rs +++ b/docs/tutorial/rust/src/main_polishing_the_tile.rs @@ -1,5 +1,5 @@ // Copyright © SixtyFPS GmbH -// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial +// SPDX-License-Identifier: MIT #[allow(dead_code)] fn main() { diff --git a/docs/tutorial/rust/src/main_tiles_from_rust.rs b/docs/tutorial/rust/src/main_tiles_from_rust.rs index 91dbb39be42..2e054ead155 100644 --- a/docs/tutorial/rust/src/main_tiles_from_rust.rs +++ b/docs/tutorial/rust/src/main_tiles_from_rust.rs @@ -1,5 +1,5 @@ // Copyright © SixtyFPS GmbH -// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial +// SPDX-License-Identifier: MIT #[allow(dead_code)] // ANCHOR: tiles diff --git a/docs/tutorial/theme/highlight.js b/docs/tutorial/theme/highlight.js index c76fc4f3ba2..fb4710e6e01 100644 --- a/docs/tutorial/theme/highlight.js +++ b/docs/tutorial/theme/highlight.js @@ -1,5 +1,5 @@ // Copyright © SixtyFPS GmbH -// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial +// SPDX-License-Identifier: MIT // This file is empty to override and disable mdbook's built-in highlight.js // version, which doesn't include CMake support. Instead the appropriate version