From 6d86b51b1030208d99649829cea96de0b64b5ed7 Mon Sep 17 00:00:00 2001 From: Noldor Date: Wed, 2 Sep 2009 15:56:45 +0000 Subject: 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 --- src/modules/objects/class_buttongroup.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/modules/objects/class_buttongroup.cpp') 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() - Adds the given button to the button group. + !fn: $addButton() + Adds the given button to the button group and returns an unique identifier. !fn: $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) -- cgit v1.3.1-10-gc9f91