From aef948f42c72dd6dc842bf8bc105ae298d29b323 Mon Sep 17 00:00:00 2001 From: Noldor Date: Mon, 14 Apr 2008 16:59:22 +0000 Subject: quick fix git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@1481 17fca916-40b9-46aa-a4ea-0a15b648b75c --- src/modules/objects/class_listbox.cpp | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'src/modules/objects') diff --git a/src/modules/objects/class_listbox.cpp b/src/modules/objects/class_listbox.cpp index 093e87a7d..5f56dd4e9 100644 --- a/src/modules/objects/class_listbox.cpp +++ b/src/modules/objects/class_listbox.cpp @@ -86,12 +86,6 @@ Sets the current listbox item. !fn: $clear() Removes all the items - !fn: $isSelected() - Returns 1 if the item at is selected and 0 otherwise - !fn: $setSelected(,) - Changes the selection status of the item at to the value - specified by . If is 1 the item is selected, - if is 0 the item is unselected. !fn: $selectionChangeEvent() This function is called by KVIrc when the selection in the listbox changes. !fn: $currentItemChangeEvent() @@ -111,7 +105,7 @@ KVSO_BEGIN_REGISTERCLASS(KviKvsObject_listbox,"listbox","widget") -/* KVSO_REGISTER_HANDLER(KviKvsObject_listbox,"insertItem", functioninsertItem) + KVSO_REGISTER_HANDLER(KviKvsObject_listbox,"insertItem", functioninsertItem) KVSO_REGISTER_HANDLER(KviKvsObject_listbox,"changeItem", functionchangeItem) KVSO_REGISTER_HANDLER(KviKvsObject_listbox,"removeItem", functionremoveItem) KVSO_REGISTER_HANDLER(KviKvsObject_listbox,"clear", functionclear) @@ -120,15 +114,12 @@ KVSO_BEGIN_REGISTERCLASS(KviKvsObject_listbox,"listbox","widget") KVSO_REGISTER_HANDLER(KviKvsObject_listbox,"currentItem", functioncurrentItem) KVSO_REGISTER_HANDLER(KviKvsObject_listbox,"textAt", functiontextAt); KVSO_REGISTER_HANDLER(KviKvsObject_listbox,"itemAt", functionitemAt); - KVSO_REGISTER_HANDLER(KviKvsObject_listbox,"itemRect", functionitemRect); +// KVSO_REGISTER_HANDLER(KviKvsObject_listbox,"itemRect", functionitemRect); KVSO_REGISTER_HANDLER(KviKvsObject_listbox,"setCurrentItem", functionsetCurrentItem); KVSO_REGISTER_HANDLER(KviKvsObject_listbox,"setSelectionMode",functionsetSelectionMode); KVSO_REGISTER_HANDLER(KviKvsObject_listbox,"selectionMode",functionselectionMode); - KVSO_REGISTER_HANDLER(KviKvsObject_listbox,"setSelected",functionsetSelected); - KVSO_REGISTER_HANDLER(KviKvsObject_listbox,"isSelected",functionisSelected); - */ KVSO_REGISTER_HANDLER(KviKvsObject_listbox,"currentItemChangeEvent",functioncurrentItemChangeEvent); KVSO_REGISTER_HANDLER(KviKvsObject_listbox,"onItemEvent",functiononItemEvent); -- cgit v1.3.1-10-gc9f91