From 52c050dd0ff72f7399cb1bd743d20c7d447e094b Mon Sep 17 00:00:00 2001 From: Noldor Date: Tue, 23 Jan 2007 16:31:02 +0000 Subject: added new buttongroup classes,dcc.setBandwidthLimit; fixed/removed some old code, added doc to dynamictooltips git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@234 17fca916-40b9-46aa-a4ea-0a15b648b75c --- src/modules/objects/class_listview.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modules/objects/class_listview.cpp') diff --git a/src/modules/objects/class_listview.cpp b/src/modules/objects/class_listview.cpp index 52def7893..fde5d507b 100644 --- a/src/modules/objects/class_listview.cpp +++ b/src/modules/objects/class_listview.cpp @@ -62,7 +62,7 @@ that items can be selected by the mouse actions: experiment with the two modes :). The NoSelection mode has obviously no selection at all. @functions: - !fn: $addColumn( ) + !fn: $addColumn( ) Adds a width pixels wide column with the column header label to the list view. !fn: $setSorting(,) @@ -318,10 +318,10 @@ bool KviKvsObject_listview::function_setSelectionMode(KviKvsObjectFunctionCall * bool KviKvsObject_listview::function_setSorting(KviKvsObjectFunctionCall *c) { - kvs_int_t iCol; + kvs_uint_t iCol; bool bEnabled; KVSO_PARAMETERS_BEGIN(c) - KVSO_PARAMETER("column",KVS_PT_INT,0,iCol) + KVSO_PARAMETER("column",KVS_PT_UNSIGNEDINTEGER,0,iCol) KVSO_PARAMETER("benabled",KVS_PT_BOOL,0,bEnabled) KVSO_PARAMETERS_END(c) if (widget()) ((QListView *)widget())->setSorting(iCol,bEnabled); -- cgit v1.3.1-10-gc9f91