aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/objects/KvsObject_toolBar.cpp
diff options
context:
space:
mode:
authorGravatar un1versal2016-03-02 12:15:44 +0000
committerGravatar un1versal2016-03-14 04:57:12 +0000
commitf138911b65dfce85c551f9e2e4bbeb595d6c6755 (patch)
tree701d5eec803c30160be47f8762b5838e57bc44dd /src/modules/objects/KvsObject_toolBar.cpp
parentcleanup: add or remove empty lines between documentation blocks & code (diff)
downloadKVIrc-f138911b65dfce85c551f9e2e4bbeb595d6c6755.tar.gz
KVIrc-f138911b65dfce85c551f9e2e4bbeb595d6c6755.tar.bz2
KVIrc-f138911b65dfce85c551f9e2e4bbeb595d6c6755.zip
documentation: formatting/indentation + minor syntax fixes
+ Dont use double quotes to emphasise words in normal circumstances. + improve indenting + consistency (good for readability when editing source) + also replace single quotes
Diffstat (limited to 'src/modules/objects/KvsObject_toolBar.cpp')
-rw-r--r--src/modules/objects/KvsObject_toolBar.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/modules/objects/KvsObject_toolBar.cpp b/src/modules/objects/KvsObject_toolBar.cpp
index 263f1a5c6..861b51c79 100644
--- a/src/modules/objects/KvsObject_toolBar.cpp
+++ b/src/modules/objects/KvsObject_toolBar.cpp
@@ -52,15 +52,13 @@
!fn: $addSeparator()
Adds a separator to the right/bottom of the toolbar.
!fn: $setLabel(<text:string>)
- Sets the toolbar's label.
+ Sets the toolbars label.
!fn: <string> $label()
- Returns the toolbar's label.
+ Returns the toolbars label.
!fn: $clear()
- Deletes all the toolbar's child widgets.
-
+ Deletes all the toolbars child widgets.
*/
-
KVSO_BEGIN_REGISTERCLASS(KvsObject_toolBar,"toolbar","widget")
KVSO_REGISTER_HANDLER_BY_NAME(KvsObject_toolBar,addSeparator)
KVSO_REGISTER_HANDLER_BY_NAME(KvsObject_toolBar,setLabel)