mirror of
https://github.com/pbek/QOwnNotes.git
synced 2025-06-28 12:59:52 +00:00
#3150 doc: add missing property
Signed-off-by: Patrizio Bekerle <patrizio@bekerle.com>
This commit is contained in:
parent
2d3c50b120
commit
a3427cec6b
1 changed files with 2 additions and 0 deletions
|
@ -8,6 +8,7 @@ import QOwnNotesTypes 1.0
|
|||
Script {
|
||||
// you have to define your registered variables so you can access them later
|
||||
property string myString;
|
||||
property string myStringSecret;
|
||||
property bool myBoolean;
|
||||
property string myText;
|
||||
property int myInt;
|
||||
|
@ -90,6 +91,7 @@ Script {
|
|||
// these variables will be set by QOwnNotes from the settings
|
||||
// if the user didn't set a variable your default value will be set
|
||||
script.log(myString);
|
||||
script.log(myStringSecret);
|
||||
script.log(myBoolean);
|
||||
script.log(myText);
|
||||
script.log(myInt);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue