Skip to content

Commit

Permalink
Set MIT license to snippets under doc (#2891)
Browse files Browse the repository at this point in the history
  • Loading branch information
aurindam committed Jun 15, 2023
1 parent 039e54a commit 789cb3b
Show file tree
Hide file tree
Showing 22 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion docs/language/src/recipes/button_native.slint
@@ -1,5 +1,5 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// 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 {
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorial/cpp/src/main_game_logic.cpp
@@ -1,5 +1,5 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial
// SPDX-License-Identifier: MIT

// clang-format off
// main.cpp
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorial/cpp/src/main_initial.cpp
@@ -1,5 +1,5 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial
// SPDX-License-Identifier: MIT

// ANCHOR: main
// main.cpp
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorial/cpp/src/main_tiles_from_cpp.cpp
@@ -1,5 +1,5 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial
// SPDX-License-Identifier: MIT

// main.cpp

Expand Down
2 changes: 1 addition & 1 deletion docs/tutorial/cpp/src/memory.slint
@@ -1,5 +1,5 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial
// SPDX-License-Identifier: MIT

// ANCHOR: main_window
// memory.slint
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorial/cpp/src/memory_game_logic.slint
@@ -1,5 +1,5 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial
// SPDX-License-Identifier: MIT

struct TileData {
image: image,
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorial/cpp/src/memory_tile.slint
@@ -1,5 +1,5 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial
// SPDX-License-Identifier: MIT

// ANCHOR: main_window
component MemoryTile inherits Rectangle {
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorial/cpp/src/memory_tiles_from_cpp.slint
@@ -1,5 +1,5 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial
// SPDX-License-Identifier: MIT

struct TileData {
image: image,
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorial/node/src/main_game_logic.js
@@ -1,5 +1,5 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial
// SPDX-License-Identifier: MIT


// main.js
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorial/node/src/main_initial.js
@@ -1,5 +1,5 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial
// SPDX-License-Identifier: MIT

// ANCHOR: main
// main.js
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorial/node/src/main_tiles_from_js.js
@@ -1,5 +1,5 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial
// SPDX-License-Identifier: MIT

// ANCHOR: main
// main.js
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorial/node/src/memory.slint
@@ -1,5 +1,5 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial
// SPDX-License-Identifier: MIT

// ANCHOR: main_window
// memory.slint
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorial/node/src/memory_game_logic.slint
@@ -1,5 +1,5 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial
// SPDX-License-Identifier: MIT

struct TileData {
image: image,
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorial/node/src/memory_tile.slint
@@ -1,5 +1,5 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial
// SPDX-License-Identifier: MIT

// ANCHOR: main_window
component MemoryTile inherits Rectangle {
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorial/node/src/memory_tiles_from_cpp.slint
@@ -1,5 +1,5 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial
// SPDX-License-Identifier: MIT

struct TileData {
image: image,
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorial/rust/src/main_game_logic_in_rust.rs
@@ -1,5 +1,5 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial
// SPDX-License-Identifier: MIT

#[allow(dead_code)]
fn main() {
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorial/rust/src/main_initial.rs
@@ -1,5 +1,5 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial
// SPDX-License-Identifier: MIT

#[allow(dead_code)]
// ANCHOR: main
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorial/rust/src/main_memory_tile.rs
@@ -1,5 +1,5 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial
// SPDX-License-Identifier: MIT

#[allow(dead_code)]
fn main() {
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorial/rust/src/main_multiple_tiles.rs
@@ -1,5 +1,5 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial
// SPDX-License-Identifier: MIT

#[allow(dead_code)]
fn main() {
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorial/rust/src/main_polishing_the_tile.rs
@@ -1,5 +1,5 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial
// SPDX-License-Identifier: MIT

#[allow(dead_code)]
fn main() {
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorial/rust/src/main_tiles_from_rust.rs
@@ -1,5 +1,5 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial
// SPDX-License-Identifier: MIT

#[allow(dead_code)]
// ANCHOR: tiles
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorial/theme/highlight.js
@@ -1,5 +1,5 @@
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// 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
Expand Down

0 comments on commit 789cb3b

Please sign in to comment.