From kde-panel-devel Fri Apr 29 14:16:34 2016 From: Ashish Bansal Date: Fri, 29 Apr 2016 14:16:34 +0000 To: kde-panel-devel Subject: Re: Plasma appet with C++ plugin Message-Id: X-MARC-Message: https://marc.info/?l=kde-panel-devel&m=146193872030997 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============6036458246034833738==" --===============6036458246034833738== Content-Type: multipart/alternative; boundary=14dae9340a212238ec0531a02108 --14dae9340a212238ec0531a02108 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Fri, Apr 29, 2016 at 3:09 PM, Marco Martin wrote: > On Tuesday 26 April 2016 22:03:11 Pablo S=C3=A1nchez Rodr=C3=ADguez wrote= : > > Hello, > > > > My name is Pablo and currently I am writing an applet for Plasma > (Plasmoid). > > > > Due to new functions I would like to implement in my applet, I need to > > create a plugin written in C++ (using Kdeclarative). > > > > My questions are: > > > > Does anybody know where I can find documentation about how to do it? Al= l > I > > could do until now was done watching inside other projects. > > David has wrote some nice blog posts[0] about creating Plasmoid. You might want to check them out. the best way is to start from the application template. > with a recent enough version of plasma framework, in KDevelop (or > KAppTemplate) you should have in the project templates both a pure qml an= d > a > mixed qml/c++ version. > > a quick introduction to mixed qml/c++ is at > > https://community.kde.org/Plasma/DeveloperGuide#Advanced:_Plasmoids_using= _C.2B.2B > > -- > Marco Martin > _______________________________________________ > Plasma-devel mailing list > Plasma-devel@kde.org > https://mail.kde.org/mailman/listinfo/plasma-devel > [0] http://blog.davidedmundson.co.uk/node/89 --=20 *Regards,* *Ashish Bansal* *http://ashish-bansal.in * --14dae9340a212238ec0531a02108 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Fri, Apr 29, 2016 at 3:09 PM, Marco Martin <notmart@gmail.com&g= t; wrote:
On Tuesday 26 April 2= 016 22:03:11 Pablo S=C3=A1nchez Rodr=C3=ADguez wrote:
> Hello,
>
> My name is Pablo and currently I am writing an applet for Plasma (Plas= moid).
>
> Due to new functions I would like to implement in my applet, I need to=
> create a plugin written in C++ (using Kdeclarative).
>
> My questions are:
>
> Does anybody know where I can find documentation about how to do it? A= ll I
> could do until now was done watching inside other projects.


David has wrote some nice blog = posts[0] about creating Plasmoid. You might want to check them out.

the best way is to start from the application template.
with a recent enough version of plasma framework, in KDevelop (or
KAppTemplate) you should have in the project templates both a pure qml and = a
mixed qml/c++ version.

a quick introduction to mixed qml/c++ is at
https://community.k= de.org/Plasma/DeveloperGuide#Advanced:_Plasmoids_using_C.2B.2B

--
Marco Martin
___________________________= ____________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel=


--14dae9340a212238ec0531a02108-- --===============6036458246034833738== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KUGxhc21hLWRl dmVsIG1haWxpbmcgbGlzdApQbGFzbWEtZGV2ZWxAa2RlLm9yZwpodHRwczovL21haWwua2RlLm9y Zy9tYWlsbWFuL2xpc3RpbmZvL3BsYXNtYS1kZXZlbAo= --===============6036458246034833738==--