kparts/genericfactory: deprecated or not?
Marco Martin
notmart at gmail.com
Wed Jan 12 16:56:10 GMT 2011
Hi all,
in the effort of make KDE packages build on the MeeGo obs, since the mobile
profile is used there all use of deprecated functions comes immediately to
surface, so is a quite good "debug" tool :)
trying to make kdeedu build (will post patches to it next days) I've found a
strange thing in kdelibs:
the KParts/GenericFactory class is not marked as deprecated, but internally
uses KDEPrivate::ConcreteFactory that instead is deprecated and excluded from
the build
right now i have this patch in the meego packages that kills it with an
#ifndef KDE_NO_DEPRECATED :
https://build.pub.meego.com/package/view_file?file=no-kparts-
genericfactory.diff&package=kdelibs&project=home:mkruisselbrink:kde&srcmd5=846fa099bdaf53bd94e3f59e70e37f4a
now the question is: is this correct? is genericfactory still supposed to
exist or should be porte to use something diferent than ConcreteFactory?
Cheers,
Marco Martin
More information about the kde-core-devel
mailing list