From 29c50400fd0bdeeb111794a86ef90a2dd6331280 Mon Sep 17 00:00:00 2001 From: Giorgos Tsiapaliwkas Date: Tue, 8 Nov 2011 09:33:08 +0200 Subject: [PATCH] Init docu for ToolButton.qml --- .../plasmacomponents/qml/ToolButton.qml | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/declarativeimports/plasmacomponents/qml/ToolButton.qml b/declarativeimports/plasmacomponents/qml/ToolButton.qml index 9d273bd5c..10bf8bfd5 100644 --- a/declarativeimports/plasmacomponents/qml/ToolButton.qml +++ b/declarativeimports/plasmacomponents/qml/ToolButton.qml @@ -17,6 +17,43 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +/**Documentanted API +Inherits: + Item + +Imports: + QtQuick 1.1 + org.kde.plasma.core + +Description: + A plasma theme based toolbutton. + +Properties: + bool flat: + Returns true if the button is flat. + + bool checked: false + Returns true if the button is checked. + + bool checkable: + Returns true if the button is checkable. + + alias pressed: + Returns true if the button is pressed. + alias text: + Sets the text for the button. + + alias iconSource: + Sets the icon for the button. + + alias font: + Sets the font for the button. + +Signals: + onClicked: + The signal is being emmited when the button is being clicked. +**/ + import QtQuick 1.1 import org.kde.plasma.core 0.1 as PlasmaCore