diff options
Diffstat (limited to 'src/modules/objects/class_buttongroup.cpp')
| -rw-r--r-- | src/modules/objects/class_buttongroup.cpp | 7 |
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) |
