[Kde-bindings] KDE/kdebindings/csharp/plasma

Richard Dale rdale at foton.es
Mon Jan 25 18:37:21 UTC 2010


On Monday 25 January 2010 06:27:10 pm Arno Rehn wrote:
> SVN commit 1080147 by arnorehn:
> 
> Remove analog clock examples. They fail to compile after plasma updates
>  anyway.
> 
> CCMAIL: kde-bindings at kde.org
> 
> 
> 
>  M  +1 -1      CMakeLists.txt
>  M  +0 -2      examples/applets/CMakeLists.txt
>  D             examples/applets/analog-clock (directory)
>  D             examples/applets/plasmaclock (directory)
> 
> 
> --- trunk/KDE/kdebindings/csharp/plasma/CMakeLists.txt #1080146:1080147
> @@ -41,4 +41,4 @@
>  install(FILES plasma-scriptengine-kimono-applet.desktop DESTINATION
>  ${SERVICES_INSTALL_DIR}) install(FILES
>  plasma-scriptengine-kimono-dataengine.desktop DESTINATION
>  ${SERVICES_INSTALL_DIR})
> 
> -add_subdirectory( examples )
> +add_subdirectory( examples EXCLUDE_FROM_ALL )
> --- trunk/KDE/kdebindings/csharp/plasma/examples/applets/CMakeLists.txt
>  #1080146:1080147 @@ -1,4 +1,2 @@
>  add_subdirectory( extendertutorial )
>  add_subdirectory( tiger )
> -add_subdirectory( plasmaclock )
> -add_subdirectory( analog-clock )
Oh - should we try and get them working? There is still some work to do on the 
plasma C# code although it compiles. 

The problem is that the QGraphicsWidget class has changed quite a lot in Qt 
4.6, and the PlasmaScripting_QGraphicsWidget.cs class is supposed to implement 
the  IGraphicsItem interface. But I didn't have time to get that working and 
just commented it out (see below), and I think it will mean the casts in the 
code to QGraphicsItems won't work. I'm not sure what the problems with the 
clocks were as I didn't have time to investigate, but it could be related.

    public class QGraphicsWidget : QObject{
//    public class QGraphicsWidget : QObject, IQGraphicsItem {

-- Richard



More information about the Kde-bindings mailing list