diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-22 14:06:03 +0900 | 
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-23 10:40:15 +0900 | 
| commit | e7c7a00cc24697ba5ce25a236089608091975f5a (patch) | |
| tree | 85fb5906cd3c781cdb5f26b09920860e49e31bb4 /src/modules/objects/class_toolbutton.cpp | |
| parent | a2bd363864dea4771da98b4c6f7ba85ca75a3784 (diff) | |
| download | kvirc-e7c7a00cc24697ba5ce25a236089608091975f5a.tar.gz kvirc-e7c7a00cc24697ba5ce25a236089608091975f5a.zip | |
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 291b4f5da2f98283b7c98ee90401df7c3cb34dad)
Diffstat (limited to 'src/modules/objects/class_toolbutton.cpp')
| -rw-r--r-- | src/modules/objects/class_toolbutton.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/src/modules/objects/class_toolbutton.cpp b/src/modules/objects/class_toolbutton.cpp index f7fc1f4..8ff37ea 100644 --- a/src/modules/objects/class_toolbutton.cpp +++ b/src/modules/objects/class_toolbutton.cpp @@ -55,7 +55,7 @@  		!fn:$usesTextLabel()  		Return 1 if the setUsesTextLabel is enabled, otherwise return 0.  		!fn:$setTextLabel(<text:String>,[tooltip:string]) -		Sets the label of this button to <text> and automatically sets it as a tool tip if <tip> is TRUE. +		Sets the label of this button to <text> and automatically sets it as a tool tip if <tip> is true.  		!fn:<string> $textLabel()  		Returns the label of tthe button.  		!fn:$setAutoRaise(<bAutoraise:boolean>) @@ -265,7 +265,7 @@ bool KviKvsObject_toolbutton::functionsetPopup(KviKvsObjectFunctionCall *c)  	if(!ob->object()->inherits("KviKvsObject_popupmenu"))      {  		c->warning(__tr2qs("Can't add a non - popupmenu  object")); -        return TRUE; +        return true;      }  	if(widget())  		((TQToolButton *)widget())->setPopup(((KviTalPopupMenu  *)(ob->object()))); | 
