diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 9ca32ef31a2566af48c06f258722738df92366af (patch) | |
tree | c847db3bf1bb88b7863fed0cc60eef6bf641306a /src/modules/objects/class_lineedit.cpp | |
parent | 72aaee9802d447ee21340b011856b9b355a58f1a (diff) | |
download | kvirc-9ca32ef31a2566af48c06f258722738df92366af.tar.gz kvirc-9ca32ef31a2566af48c06f258722738df92366af.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kvirc@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/modules/objects/class_lineedit.cpp')
-rw-r--r-- | src/modules/objects/class_lineedit.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/objects/class_lineedit.cpp b/src/modules/objects/class_lineedit.cpp index 8844d1b7..868ce8f1 100644 --- a/src/modules/objects/class_lineedit.cpp +++ b/src/modules/objects/class_lineedit.cpp @@ -128,8 +128,8 @@ static const int mode_cod[] = { With this property user can drag text in the lineedit. !fn: $setReadOnly(<bReadonly:boolean>) Sets the lineedit to read only mode. - !fn: $setInputMask(<tqmask:string>) - Sets the validation input tqmask to inputMask.[br] + !fn: $setInputMask(<mask:string>) + Sets the validation input mask to inputMask.[br] Example:[br] [br] %esempio->$setInputMask( "+99 99 99 99 99;_" );[br] @@ -137,7 +137,7 @@ static const int mode_cod[] = { %esempio->Ip Number Mask.[br] %esempio->setInputMask( ">AAAAA-AAAAA-AAAAA-AAAAA-AAAAA;#" );[br] [br] - The tqmask format understands these tqmask characters:[br] + The mask format understands these mask characters:[br] Character Meaning[br] A ASCII alphabetic character required. A-Z, a-z.[br] a ASCII alphabetic character permitted but not required.[br] @@ -155,7 +155,7 @@ static const int mode_cod[] = { ! Switch off case conversion.[br] \ Use \ to escape the special characters listed above to use them as separators.[br] [br] - The tqmask consists of a string of tqmask characters and separators, optionally[br] + The mask consists of a string of mask characters and separators, optionally[br] followed by a semi-colon and the character used for blanks: the blank characters [br] are always removed from the text after editing. The default blank character is space. [br] !fn: $returnPressedEvent() @@ -407,7 +407,7 @@ bool KviKvsObject_lineedit::functionSetInputMask(KviKvsObjectFunctionCall *c) { TQString szMask; KVSO_PARAMETERS_BEGIN(c) - KVSO_PARAMETER("tqmask",KVS_PT_STRING,0,szMask) + KVSO_PARAMETER("mask",KVS_PT_STRING,0,szMask) KVSO_PARAMETERS_END(c) if (widget()) ((TQLineEdit *)widget())->setInputMask(szMask); |