[Kde-imaging] Any one documented the KDE 3 to KDE 4 port for a kipi-plugin

Marcel Wiesweg marcel.wiesweg at gmx.de
Sun Jun 8 14:40:29 CEST 2008


> Hi,
>       Did someone document the steps taken for porting the kipi-plugin in
> KDE 3 to KDE 4 ? I am looking for more like the best practices or
> experience instead of the Options (which the QT website offers in the
> Porting to QT 4 documentation).
>
> Do ppl generally modify the KDE 3 to make is as close to the porting
> guidelines and then port it or its better to leave KDE 3 code as it is and
> directly work on porting only for the new copy of the code that will go in
> to KDE 4 directory ?

I dont see so much you can change in KDE3 to prepare for KDE4; we usually 
copied the code to trunk, then ran the automatic tool, then made the 
necessary manual work to make it compile, then looked the the code works 
again, and then removed remaining Qt3Support classes.
As to removing Qt3Support, this should be done ultimately, but it is not 
strictly necessary for some cases. For example, we still base our icon view 
in digikam on Q3 classes because a complete rewrite is planned for later, and 
view classes have changed a lot.
The other example would be actions, the move to QAction is necessary and 
should be done while porting (maybe it doesnt compile without, dont know 
anymore)

Marcel


>
>
> Vardhman




More information about the Kde-imaging mailing list