aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/objects/KvsObject_lcd.cpp
diff options
context:
space:
mode:
authorGravatar un1versal2015-12-09 12:00:31 +0000
committerGravatar un1versal2015-12-19 02:40:22 +0000
commitf4c79ca075042b834ba04adbd32b1973245089a0 (patch)
tree8a6d98a8184fbba82f69784bc3bf07d1cbca1009 /src/modules/objects/KvsObject_lcd.cpp
parentsrc/modules typos: capitalize, formatting, consistency and syntax fixes (diff)
downloadKVIrc-f4c79ca075042b834ba04adbd32b1973245089a0.tar.gz
KVIrc-f4c79ca075042b834ba04adbd32b1973245089a0.tar.bz2
KVIrc-f4c79ca075042b834ba04adbd32b1973245089a0.zip
src/modules: typos, consistency capitalize, fomatting and indenting fixes
these contains in addition the whitespace changes
Diffstat (limited to 'src/modules/objects/KvsObject_lcd.cpp')
-rw-r--r--src/modules/objects/KvsObject_lcd.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/modules/objects/KvsObject_lcd.cpp b/src/modules/objects/KvsObject_lcd.cpp
index 0abe4bbc9..b770a1ac5 100644
--- a/src/modules/objects/KvsObject_lcd.cpp
+++ b/src/modules/objects/KvsObject_lcd.cpp
@@ -1,8 +1,8 @@
//=============================================================================
//
// File : KvsObject_lcd.cpp
-// Creation date : Mon Gen 27 14:30:48 CEST 2005 by Tonino Imbesi(Grifisx)
-// and Alessandro Carbone(Noldor)
+// Creation date : Mon Gen 27 14:30:48 CEST 2005
+// by Tonino Imbesi(Grifisx) and Alessandro Carbone(Noldor)
//
// This file is part of the KVIrc IRC client distribution
// Copyright (C) 2005 Alessandro Carbone (elfonol at gmail dot com)
@@ -44,8 +44,8 @@
@inherits:
@description:
- It can display a number in just about any size. It can display decimal,
- hexadecimal, octal or binary numbers.
+ It can display a number in just about any size.[br]
+ It can display decimal, hexadecimal, octal or binary numbers.
@functions:
!fn: $displayStr(<number:string>)
Displays the number represented by the string s.
@@ -54,18 +54,18 @@
!fn: $displayDouble(<number:double>)
Sets the displayed value to number (double).
!fn: $setMode(<mode:string>)
- Sets the current display mode (number base): valid mode are HEX,BIN,OCT,DEC.
+ Sets the current display mode (number base): valid mode are: [b]HEX[/b], [b]BIN[/b], [b]OCT[/b] and [b]DEC[/b].
!fn: $setSegmentStyles(<style:string>)
- Sets the style of the lcdnumber, valid styles are: Outline,Filled,Flat.
+ Sets the style of the lcdnumber, valid styles are: [b]Outline[/b], [b]Filled[/b] and [b]Flat[/b].
!fn: $setNumDigits(<number:integer>)
- Sets the lcd number value.
+ Sets the lcdnumber value.
!fn: <boolean> $checkOverflow()
- Returns true if num is too big to be displayed in its entirety;
- otherwise returns false.
- !fn: $setSmallDecimalPoint(<bflag:boolean>)
- Sets the the decimal point style, valid bool values are 1 or 0.
+ Returns 1 (true) if the number is too big to be displayed in its entirety;
+ otherwise returns 0 (false).
+ !fn: $setSmallDecimalPoint(<bFlag:boolean>)
+ Sets the the decimal point style, valid bool values are 1 (true) or 0 (false).
!fn: <boolean> $checkOverflow(<number:integer>)
- Returns 1 (true) if num is too big to be displayed in its entirety; otherwise returns 0 (false).
+ Returns 1 (true) if the number is too big to be displayed in its entirety; otherwise returns 0 (false).
*/
KVSO_BEGIN_REGISTERCLASS(KvsObject_lcd,"lcdnumber","widget")
@@ -177,7 +177,7 @@ KVSO_CLASS_FUNCTION(lcd,setSmallDecimalPoint)
CHECK_INTERNAL_POINTER(widget())
bool bFlag;
KVSO_PARAMETERS_BEGIN(c)
- KVSO_PARAMETER("bflag",KVS_PT_BOOLEAN,0,bFlag)
+ KVSO_PARAMETER("bFlag",KVS_PT_BOOLEAN,0,bFlag)
KVSO_PARAMETERS_END(c)
((QLCDNumber *)widget())->setSmallDecimalPoint(bFlag);
return true;