diff options
| author | 2016-07-26 11:50:58 +0100 | |
|---|---|---|
| committer | 2016-07-27 17:32:14 +0100 | |
| commit | d7d7992ffc6708efc272674e198b39c28da6a284 (patch) | |
| tree | 41ba2ccd4432e1039be768f18edb13ebea06cea6 /src/modules | |
| parent | gendoc: tweak colors (diff) | |
| download | KVIrc-d7d7992ffc6708efc272674e198b39c28da6a284.tar.gz KVIrc-d7d7992ffc6708efc272674e198b39c28da6a284.tar.bz2 KVIrc-d7d7992ffc6708efc272674e198b39c28da6a284.zip | |
documentaion: formatting fixes
Diffstat (limited to 'src/modules')
| -rw-r--r-- | src/modules/objects/KvsObject_tableWidget.cpp | 6 | ||||
| -rw-r--r-- | src/modules/objects/KvsObject_treeWidgeteItem.cpp | 4 | ||||
| -rw-r--r-- | src/modules/system/Plugin.cpp | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/src/modules/objects/KvsObject_tableWidget.cpp b/src/modules/objects/KvsObject_tableWidget.cpp index 74cd1187d..17c12fd66 100644 --- a/src/modules/objects/KvsObject_tableWidget.cpp +++ b/src/modules/objects/KvsObject_tableWidget.cpp @@ -135,8 +135,8 @@ const char * const itemflags_tbl[] = { Sets the flags for the cell pointed by row and col to the given flags. These determine whether the cell can be selected or modified. Supported flags are: - [pre] - - noitemflag : no flag sets; + [example] + - noitemflag : no flag sets;[br] - selectable : cell is selectable;[br] - editable : cell is editable;[br] - dragEnabled : cell can dragged;[br] @@ -144,7 +144,7 @@ const char * const itemflags_tbl[] = { - userCheckable : cell is checkable;[br] - enabled :cell is enabled;[br] - tristate : cell is checkable with three separate states. - [/pre] + [/example] !fn: $setCellWidget(<row:uint>,<column:uint>,<widget:hobject>) Sets the given widget to be displayed in the cell in the given row and column, passing the ownership of the widget to the table. !fn: $setIcon(<row:uint>,<column:uint>,<icon:imageid or hobject>) diff --git a/src/modules/objects/KvsObject_treeWidgeteItem.cpp b/src/modules/objects/KvsObject_treeWidgeteItem.cpp index 508b1cf01..ebf10f19c 100644 --- a/src/modules/objects/KvsObject_treeWidgeteItem.cpp +++ b/src/modules/objects/KvsObject_treeWidgeteItem.cpp @@ -113,7 +113,7 @@ const char * const itemflags_tbl[] = { Sets the flags for the item to the given flags. These determine whether the item can be selected or modified.[br] This is often used to disable an item. Supported flags are: - [pre] + [example] - noitemflag : no flag sets;[br] - selectable : item is selectable;[br] - editable : item is editable;[br] @@ -122,7 +122,7 @@ const char * const itemflags_tbl[] = { - userCheckable : item is checkable;[br] - enabled :item is enabled;[br] - tristate : item is checkable with three separate states. - [/pre] + [/example] */ KVSO_BEGIN_REGISTERCLASS(KvsObject_treeWidgetItem, "listviewitem", "object") diff --git a/src/modules/system/Plugin.cpp b/src/modules/system/Plugin.cpp index 8cee964f6..f63d3dfa9 100644 --- a/src/modules/system/Plugin.cpp +++ b/src/modules/system/Plugin.cpp @@ -55,7 +55,7 @@ [example] int _free(void * p) { - // Always free the memory here! + [comment]// Always free the memory here![/comment] free(p); return 0; } |
