diff options
-rw-r--r-- | src/modules/mediaplayer/libkvimediaplayer.cpp | 2 | ||||
-rw-r--r-- | src/modules/objects/class_file.cpp | 4 | ||||
-rw-r--r-- | src/modules/objects/class_lineedit.cpp | 2 | ||||
-rw-r--r-- | src/modules/objects/class_painter.cpp | 6 | ||||
-rw-r--r-- | src/modules/str/libkvistr.cpp | 8 |
5 files changed, 11 insertions, 11 deletions
diff --git a/src/modules/mediaplayer/libkvimediaplayer.cpp b/src/modules/mediaplayer/libkvimediaplayer.cpp index 216c11b4..35f5397d 100644 --- a/src/modules/mediaplayer/libkvimediaplayer.cpp +++ b/src/modules/mediaplayer/libkvimediaplayer.cpp @@ -617,7 +617,7 @@ MP_KVS_COMMAND(amipExec) @seealso: [module:mediaplayer]media player module documentation[/module], [fnc]$mediaplayer.position[/fnc], - [fnc]$mediaplayer.lenght[/fnc], + [fnc]$mediaplayer.length[/fnc], */ MP_KVS_COMMAND(jumpTo) diff --git a/src/modules/objects/class_file.cpp b/src/modules/objects/class_file.cpp index 9e966a6e..232713cd 100644 --- a/src/modules/objects/class_file.cpp +++ b/src/modules/objects/class_file.cpp @@ -376,7 +376,7 @@ bool KviKvsObject_file::functionreadBlock(KviKvsObjectFunctionCall *c) { kvs_uint_t uLen; KVSO_PARAMETERS_BEGIN(c) - KVSO_PARAMETER("lenght",KVS_PT_UNSIGNEDINTEGER,0,uLen) + KVSO_PARAMETER("length",KVS_PT_UNSIGNEDINTEGER,0,uLen) KVSO_PARAMETERS_END(c) if (!m_pFile) return true; if(!m_pFile->isOpen()) @@ -398,7 +398,7 @@ bool KviKvsObject_file::functionwriteBlock(KviKvsObjectFunctionCall *c) TQString szBlock; kvs_uint_t uLen; KVSO_PARAMETERS_BEGIN(c) - KVSO_PARAMETER("lenght",KVS_PT_UNSIGNEDINTEGER,0,uLen) + KVSO_PARAMETER("length",KVS_PT_UNSIGNEDINTEGER,0,uLen) KVSO_PARAMETER("text_block",KVS_PT_STRING,0,szBlock) KVSO_PARAMETERS_END(c) if (!m_pFile) return true; diff --git a/src/modules/objects/class_lineedit.cpp b/src/modules/objects/class_lineedit.cpp index 868ce8f1..0ac5aa49 100644 --- a/src/modules/objects/class_lineedit.cpp +++ b/src/modules/objects/class_lineedit.cpp @@ -81,7 +81,7 @@ static const int mode_cod[] = { Returns the current maximum length of the text that can be typed in the editor.[br] See also [classfnc]$setMaxLength[/classfnc](). - !fn: $setMaxLength(<max_lenght:integer>) + !fn: $setMaxLength(<max_length:integer>) Sets maximum length of the text that can be typed in the editor.[br] See also [classfnc]$maxLength[/classfnc](). diff --git a/src/modules/objects/class_painter.cpp b/src/modules/objects/class_painter.cpp index 09499455..28b774ec 100644 --- a/src/modules/objects/class_painter.cpp +++ b/src/modules/objects/class_painter.cpp @@ -640,7 +640,7 @@ bool KviKvsObject_painter::functiondrawArc(KviKvsObjectFunctionCall *c) kvs_int_t iSangle,iLena,iX,iY,iW,iH; KVSO_PARAMETERS_BEGIN(c) KVSO_PARAMETER("start_angle",KVS_PT_INT,0,iSangle) - KVSO_PARAMETER("a_lenght",KVS_PT_INT,0,iLena) + KVSO_PARAMETER("a_length",KVS_PT_INT,0,iLena) KVSO_PARAMETER("x_or_array",KVS_PT_VARIANT,0,pXOrArray) KVSO_PARAMETER("y",KVS_PT_INT,KVS_PF_OPTIONAL,iY) KVSO_PARAMETER("w",KVS_PT_INT,KVS_PF_OPTIONAL,iW) @@ -658,7 +658,7 @@ bool KviKvsObject_painter::functiondrawChord(KviKvsObjectFunctionCall *c) kvs_int_t iSangle,iLena,iX,iY,iW,iH; KVSO_PARAMETERS_BEGIN(c) KVSO_PARAMETER("start_angle",KVS_PT_INT,0,iSangle) - KVSO_PARAMETER("a_lenght",KVS_PT_INT,0,iLena) + KVSO_PARAMETER("a_length",KVS_PT_INT,0,iLena) KVSO_PARAMETER("x_or_array",KVS_PT_VARIANT,0,pXOrArray) KVSO_PARAMETER("y",KVS_PT_INT,KVS_PF_OPTIONAL,iY) KVSO_PARAMETER("w",KVS_PT_INT,KVS_PF_OPTIONAL,iW) @@ -717,7 +717,7 @@ bool KviKvsObject_painter::functiondrawPie(KviKvsObjectFunctionCall *c) kvs_int_t iSangle,iLena,iX,iY,iW,iH; KVSO_PARAMETERS_BEGIN(c) KVSO_PARAMETER("start_angle",KVS_PT_INT,0,iSangle) - KVSO_PARAMETER("a_lenght",KVS_PT_INT,0,iLena) + KVSO_PARAMETER("a_length",KVS_PT_INT,0,iLena) KVSO_PARAMETER("x_or_array",KVS_PT_VARIANT,0,pXOrArray) KVSO_PARAMETER("y",KVS_PT_INT,KVS_PF_OPTIONAL,iY) KVSO_PARAMETER("w",KVS_PT_INT,KVS_PF_OPTIONAL,iW) diff --git a/src/modules/str/libkvistr.cpp b/src/modules/str/libkvistr.cpp index b7ea2e7c..7cd6b0c5 100644 --- a/src/modules/str/libkvistr.cpp +++ b/src/modules/str/libkvistr.cpp @@ -144,11 +144,11 @@ static bool str_kvs_cmd_toClipboard(KviKvsModuleCommandCall * c) @title: $str.len @short: - Returns the lenght of the given string + Returns the length of the given string @syntax: <uint> $str.len(<data:string>) @description: - Returns the lenght (that is, number of characters) of the given string. + Returns the length (that is, number of characters) of the given string. This function is internally aliased to [fnc]$str.length[/fnc]() too. */ @@ -159,11 +159,11 @@ static bool str_kvs_cmd_toClipboard(KviKvsModuleCommandCall * c) @title: $str.length @short: - Returns the lenght of the given string + Returns the length of the given string @syntax: <uint> $str.length(<data:string>) @description: - Returns the lenght (that is, number of characters) of the given string. + Returns the length (that is, number of characters) of the given string. This function is internally aliased to [fnc]$str.len[/fnc]() too. */ |