[MassifVisualizer] [massif-visualizer] [Bug 332833] New: Support loading kgrapviewer via KPluginFactory

Reimar Döffinger kde at reimardoeffinger.de
Mon Mar 31 06:02:05 UTC 2014


https://bugs.kde.org/show_bug.cgi?id=332833

            Bug ID: 332833
           Summary: Support loading kgrapviewer via KPluginFactory
    Classification: Unclassified
           Product: massif-visualizer
           Version: master
          Platform: unspecified
                OS: Linux
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: general
          Assignee: massif-visualizer at kde.org
          Reporter: kde at reimardoeffinger.de

I removed use of the deprecated KLibFactory in kgraphviewer.
This basically means you have to replace
KLibFactory *factory = KLibLoader::self()->factory("kgraphviewerpart");
by
KPluginFactory *factory = KPluginLoader("kgraphviewerpart").factory();
for it to still work.
I hope that is ok, I expect it should be possible to support both in principle,
but it would have been a lot of code and pain, so I'd prefer to just ask
everyone to change their code.
Please contact me if you have any concerns or would like me to handle this
change in a different way.

Reproducible: Always

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Massif-visualizer mailing list