API dox: fix name of item class
GIT_SILENT
This commit is contained in:
parent
f31e4d95fd
commit
3b6d9de925
@ -24,7 +24,7 @@ import QtQuick 2.1
|
|||||||
import QtQml 2.0
|
import QtQml 2.0
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A ModelMenu creates a context menu with items populated from a model or a QList<QAction*>
|
* A ModelContextMenu creates a context menu with items populated from a model or a QList<QAction*>.
|
||||||
* For standard item models, actions are created using the following model role names or properties:
|
* For standard item models, actions are created using the following model role names or properties:
|
||||||
* @li @c display - a string contains the action name
|
* @li @c display - a string contains the action name
|
||||||
* @li @c decoration - an icon to display
|
* @li @c decoration - an icon to display
|
||||||
@ -35,7 +35,7 @@ import QtQml 2.0
|
|||||||
* Example code:
|
* Example code:
|
||||||
*
|
*
|
||||||
* @code
|
* @code
|
||||||
* ModelMenu {
|
* ModelContextMenu {
|
||||||
* id: menu
|
* id: menu
|
||||||
* visualParent: someButton
|
* visualParent: someButton
|
||||||
* model: myModel
|
* model: myModel
|
||||||
|
Loading…
x
Reference in New Issue
Block a user