From 7eeceac15d0826ba2537019e51262a36f9de9de0 Mon Sep 17 00:00:00 2001 From: "Lamarque V. Souza" Date: Thu, 22 Dec 2011 13:05:17 -0200 Subject: [PATCH] Add documentantion for ContextMenu.qml. --- .../plasmacomponents/qml/ContextMenu.qml | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/declarativeimports/plasmacomponents/qml/ContextMenu.qml b/declarativeimports/plasmacomponents/qml/ContextMenu.qml index a660b1350..48e14b48c 100644 --- a/declarativeimports/plasmacomponents/qml/ContextMenu.qml +++ b/declarativeimports/plasmacomponents/qml/ContextMenu.qml @@ -40,6 +40,28 @@ ** ****************************************************************************/ +/**Documented API +Inherits: + Item + +Imports: + QtQuick 1.1 + org.kde.plasma.components + +Description: + Provides a component with list of options that the user can choose from. + +Properties: + * QtObject model + This property holds the model providing data for the menu. + The model provides the set of data that is used to create the items in the view. + Each model item must have a property called "text" or "display". + +Methods: + * void rebuildMenu() + Rebuild the menu if property model is defined. +**/ + import QtQuick 1.1 import org.kde.plasma.components 0.1