diff options
author | Darrell Anderson <[email protected]> | 2012-04-05 13:51:51 -0500 |
---|---|---|
committer | Darrell Anderson <[email protected]> | 2012-04-05 13:51:51 -0500 |
commit | 7808ef5643db84e4f054c829fe442c9bed44ca9b (patch) | |
tree | 1928e7282af37c14c7771e1ad20f09774152a53a /src/modules/objects | |
parent | 883738eedfef131d2a03ac11927eb63dad7dfab6 (diff) | |
download | kvirc-7808ef5643db84e4f054c829fe442c9bed44ca9b.tar.gz kvirc-7808ef5643db84e4f054c829fe442c9bed44ca9b.zip |
Fix typos.
Diffstat (limited to 'src/modules/objects')
-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 |
3 files changed, 6 insertions, 6 deletions
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) |