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

List:       kde-panel-devel
Subject:    Re: Reuse calendar applet
From:       Marco Martin <notmart () gmail ! com>
Date:       2009-11-26 17:55:10
Message-ID: 200911261855.10266.notmart () gmail ! com
[Download RAW message or body]

On Thursday 26 November 2009, Flavio Castelli wrote:
> I'm trying to reuse the plasma calendar applet inside my application.
> 
> Currently I've been able to embed the applet but  I have not been able to
> handle the date selection events.
> 
> This signal is emitted by the Plasma::Calendar class defined by
> kdebase/workspace/libs/plasmaclock/calendar.h.
> There's an instance of Plasma::Calendar inside of CalendarApplet which is
> accessible by the CalendarApplet::graphicsWidget().
> 
> The CalendarApplet class is declared inside of
> kdebase/workspace/plasma/generic/applets/calendar/calendar.h but this file
>  is not installed.
> 
> Am I missing something?
> 
> Thanks in advance
> Flavio

this fits in the idea of the reusable plasma part...
yes, would be nice some way of communication between the outside application 
and the applets.
right now blindly connecting to graphicsWidget() should work.
the calendar widget right now is kept private since is used just by the 
clocks, if there will be enough use cases it could make into the other widgets 
some day perhaps

-- 
Marco Martin
_______________________________________________
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