On Thursday 30 October 2008, Petri Damstén wrote: > On Thursday 30 October 2008 12:30:10 Aaron J. Seigo wrote: > > On Thursday 30 October 2008, Petri Damstén wrote: > > > If we copy Plasma::Applet::packageStructure() to custom package > > > structure type is also copied and we have no setType to correct it. > > > > what is the exact use case for this? > > e.g. in comic package structure constructor:
i think that's an incorrect use. you should just subclass PackageStructure directly and create a ComicProviderPackage class. not being able to set the type publicly is intentional to help people recognize when they are doing something odd ;) -- Aaron J. Seigo humru othro a kohnu se GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43 KDE core developer sponsored by Qt Software
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel