From 69bb5aea8379f45ab43de7fe1a3ce1bd60655329 Mon Sep 17 00:00:00 2001 From: Noldor Date: Sun, 1 Mar 2009 12:11:18 +0000 Subject: Some doc fix git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@3108 17fca916-40b9-46aa-a4ea-0a15b648b75c --- src/modules/objects/class_datetimeedit.cpp | 18 +++++++---------- src/modules/objects/class_listwidget.cpp | 31 ++++++++++++++---------------- src/modules/objects/class_memorybuffer.cpp | 1 + src/modules/objects/class_treewidget.cpp | 2 +- 4 files changed, 23 insertions(+), 29 deletions(-) (limited to 'src/modules/objects') diff --git a/src/modules/objects/class_datetimeedit.cpp b/src/modules/objects/class_datetimeedit.cpp index 037b8e474..b0d4ef553 100644 --- a/src/modules/objects/class_datetimeedit.cpp +++ b/src/modules/objects/class_datetimeedit.cpp @@ -34,25 +34,21 @@ #include /* - @doc:button + @doc:datetimeedit @title: - button class + datetimeedit class @type: class @short: - Button widget. + Datetimeedit widget. @inherits: [class]object[/class] - [class]button[/class] + [class]widget[/class] @description: - This widget provides a push button + This widget provides a datetimeedit. @functions: - !fn: $setDate([]) - !fn: $date([]) - @signals: - !sg: $clicked() - This signal is emitted by the default implementation of [classfnc]$clickEvent[/classfnc](). - + !fn: $setDate([]) + !fn: $date([]) */ diff --git a/src/modules/objects/class_listwidget.cpp b/src/modules/objects/class_listwidget.cpp index 26decfc31..370e2c331 100644 --- a/src/modules/objects/class_listwidget.cpp +++ b/src/modules/objects/class_listwidget.cpp @@ -27,24 +27,21 @@ #include "kvi_debug.h" #include "class_list.h" #include "class_listwidget.h" - #include /* - @doc: listwidget - @keyterms: - listwidget object class - @title: - listwidget class - @type: - class - @short: - A widget displaying a list of items - @inherits: - [class]object[/class] - [class]widget[/class] + @doc:listbox + @title: + listbox class + @type: + class + @short: + A widget displaying a list of items. + @inherits: + [class]object[/class] + [class]widget[/class] @description: - The listwidget class is a widget displaying a list of string items.[br] - The listwidget can operate in four selection modes: single, multi, extended + The listbox class is a widget displaying a list of string items.[br] + The listbox can operate in four selection modes: single, multi, extended and none. In the "single" mode only one item can be selected at a time and that item is also the current one. In the "multi" mode multiple items can be selected and unselected and the current item may or may not @@ -83,13 +80,13 @@ !fn: $textAt() Returns item at given index. !fn: $setCurrentItem() - Sets the current listwidget item. + Sets the current listbox item. !fn: $clear() Removes all the items !fn: $itemEnteredEvent() This function is called by KVIrc when the mouse cursor enters an item. !fn: $selectionChangeEvent() - This function is called by KVIrc when the selection in the listwidget changes. + This function is called by KVIrc when the selection in the listbox changes. !fn: $currentItemChangeEvent() This function is called by KVIrc when the current item changes. !fn: $onItemEvent() diff --git a/src/modules/objects/class_memorybuffer.cpp b/src/modules/objects/class_memorybuffer.cpp index 8b583ecc5..b9e97e875 100644 --- a/src/modules/objects/class_memorybuffer.cpp +++ b/src/modules/objects/class_memorybuffer.cpp @@ -122,3 +122,4 @@ KVSO_CLASS_FUNCTION(memorybuffer,saveToFile) #include "m_class_memorybuffer.moc" #endif //!COMPILE_USE_STANDALONE_MOC_SOURCES*/ + diff --git a/src/modules/objects/class_treewidget.cpp b/src/modules/objects/class_treewidget.cpp index 7e6a7ea19..d8c55a244 100644 --- a/src/modules/objects/class_treewidget.cpp +++ b/src/modules/objects/class_treewidget.cpp @@ -53,7 +53,7 @@ @keyterms: listview widget class @title: - listview widget class + listview class @type: class @short: -- cgit v1.3.1-10-gc9f91