aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/objects/class_buttongroup.cpp
diff options
context:
space:
mode:
authorGravatar Noldor2009-09-02 15:56:45 +0000
committerGravatar Noldor2009-09-02 15:56:45 +0000
commit6d86b51b1030208d99649829cea96de0b64b5ed7 (patch)
treec226a1dc617171c0a8f74fcce7d492486fcf24d8 /src/modules/objects/class_buttongroup.cpp
parent- trailing whitespace cleanups all over the place (diff)
downloadKVIrc-6d86b51b1030208d99649829cea96de0b64b5ed7.tar.gz
KVIrc-6d86b51b1030208d99649829cea96de0b64b5ed7.tar.bz2
KVIrc-6d86b51b1030208d99649829cea96de0b64b5ed7.zip
Some fix in code and doc + removed obsolete code
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@3466 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/objects/class_buttongroup.cpp')
-rw-r--r--src/modules/objects/class_buttongroup.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/modules/objects/class_buttongroup.cpp b/src/modules/objects/class_buttongroup.cpp
index 094e441c1..33167c1b8 100644
--- a/src/modules/objects/class_buttongroup.cpp
+++ b/src/modules/objects/class_buttongroup.cpp
@@ -5,7 +5,7 @@
// 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)
+// Copyright (C) 2009 Alessandro Carbone (elfonol at gmail dot com)
//
// This program is FREE software. You can redistribute it and/or
// modify it under the terms of the GNU General Public License
@@ -48,8 +48,8 @@
@description:
This object organizes buttons in a group.
@functions:
- !fn: $addButton(<checkbutton or radiobutton:object>)
- Adds the given button to the button group.
+ !fn: <id:integer> $addButton(<checkbutton or radiobutton:object>)
+ Adds the given button to the button group and returns an unique identifier.
!fn: <object> $checkedButton()
Returns the button group's checked button, or 0 if no buttons are checked.
*/
@@ -57,7 +57,6 @@
KVSO_BEGIN_REGISTERCLASS(KviKvsObject_buttongroup,"buttongroup","object")
KVSO_REGISTER_HANDLER_BY_NAME(KviKvsObject_buttongroup,addButton)
KVSO_REGISTER_HANDLER_BY_NAME(KviKvsObject_buttongroup,checkedButton)
-
KVSO_END_REGISTERCLASS(KviKvsObject_buttongroup)
KVSO_BEGIN_CONSTRUCTOR(KviKvsObject_buttongroup,KviKvsObject)