-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Complementary unit test ut-dconfigwrapper
unit test Log: Complementary unit test ut-dconfigwrapper
- Loading branch information
1 parent
e9932e6
commit 74b3ea9
Showing
3 changed files
with
47 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. | ||
// | ||
// SPDX-License-Identifier: LGPL-3.0-or-later | ||
|
||
import QtQuick 2.11 | ||
import org.deepin.dtk 1.0 as D | ||
|
||
Item { | ||
id: control | ||
signal key3Changed() | ||
D.Config { | ||
id: exampleConfig | ||
name: "example" | ||
subpath: "" | ||
property string key3 : "1" | ||
onKey3Changed: control.key3Changed() | ||
} | ||
function setKey3(value) | ||
{ | ||
exampleConfig.key3 = value | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters