[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: Where I can find api documents of qml?
From:       David Edmundson <david () davidedmundson ! co ! uk>
Date:       2012-06-27 12:26:40
Message-ID: CAGeFrHDE4YBSZZDVq5s6LjPFSnTX4yxEc=sX8sRPU1XNqtT78w () mail ! gmail ! com
[Download RAW message or body]

On Wed, Jun 27, 2012 at 12:53 PM, qasdfgtyuiop <qasdfgtyuiop@gmail.com> wro=
te:
> I want to insert some icon in my qml widget, and using javascript to
> access calendar. =A0But I can not find the document related to this.
> Where can I find a document of plasma qml?
>
> I have seen these pages but find nothing helpful, these pages don't
> contain enough information:
> http://techbase.kde.org/Development/Tut ... ingStarted
> http://techbase.kde.org/Development/Tut ... ma/QML/API
> http://api.kde.org/4.x-api/plasma-qml-apidocs/
>
> But I can't find the api of org.kde.plasma.core and org.kde.akonadi
> Thanks

org.kde.plasma.core represent items in
http://api.kde.org/4.x-api/kdelibs-apidocs

C++ name ->   name in org.kde.plasma.core

Plasma::Svg  Svg
Plasma::FrameSvg FrameSvg
Plasma::SvgItem SvgItem
Plasma::FrameSvgItem FrameSvgItem
ThemeProxy Theme
Plasma::DataSource DataSource
Plasma::DataModel DataModel
Plasma::SortFilterModel SortFilterModel
DialogProxy Dialog
ToolTipProxy ToolTip
Plasma::Service Service
Plasma::ServiceJob ServiceJob

and the global plasmoid variable is a
http://api.kde.org/4.x-api/kdelibs-apidocs/plasma/html/classPlasma_1_1Apple=
t.html

you can access all the properties, and invoke any public slot or Q_INVOKABLE
Note that the called "somethingProxy" are wrapping the library in
kde-runtime and documentation can be found at
http://api.kde.org/4.x-api/kde-runtime-apidocs instead (though
searching for the name in the sidebar will find it)

Dave
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic