diff options
| author | 2008-04-14 16:59:22 +0000 | |
|---|---|---|
| committer | 2008-04-14 16:59:22 +0000 | |
| commit | aef948f42c72dd6dc842bf8bc105ae298d29b323 (patch) | |
| tree | 488a98bad34e667b23a6cbf903a0fcd7d7b8d7e2 /src/modules | |
| parent | QT4 port: QIconSet (completed), objects module (w.i.p.), code clean. (diff) | |
| download | KVIrc-aef948f42c72dd6dc842bf8bc105ae298d29b323.tar.gz KVIrc-aef948f42c72dd6dc842bf8bc105ae298d29b323.tar.bz2 KVIrc-aef948f42c72dd6dc842bf8bc105ae298d29b323.zip | |
quick fix
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@1481 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules')
| -rw-r--r-- | src/modules/objects/class_listbox.cpp | 13 |
1 files changed, 2 insertions, 11 deletions
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: <boolean> $isSelected(<index:integer>) - Returns 1 if the item at <index> is selected and 0 otherwise - !fn: $setSelected(<index:integer>,<bSelected:boolean>) - Changes the selection status of the item at <index> to the value - specified by <bSelected>. If <bSelected> is 1 the item is selected, - if <bSelected> 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); |
