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

List:       koffice-devel
Subject:    Re: Using shapes in kplato
From:       Dag Andersen <danders () get2net ! dk>
Date:       2010-01-04 14:41:38
Message-ID: 201001041541.38692.danders () get2net ! dk
[Download RAW message or body]

Mandag 04 januar 2010 14:17:27 skrev Johannes Simon:
> Hi Dag,
> 
> Since KoChart::ChartInterface is an interface in Qt terms declared with
> Q_DECLARE_INTERFACE(), you can use a qobject_cast to cast the KoShape
> your method gets passed to KoChart::ChartInterface.
> 
> Take a look at how KSpread does it: kspread/chart/ChartDatabaseSelector.cpp
Yes, this looks more useful, thanks.

-- 
Mvh.
Dag Andersen
_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

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