[kgraphviewer-devel] KGraphViewer lib

Sandro Andrade sandroandrade at kde.org
Thu May 27 16:40:14 CEST 2010

Another question: since now applications must link against
KGraphviewer library in order
to use kgraphviewer_interface's features, shouldn't there is a .so
containing only such interface ?
By doing that we wouldn't have any implementation code linked in
applications, just the interface.
The implementation would be provided by the kpart.


On Sat, May 22, 2010 at 12:43 PM, Sandro Andrade <sandroandrade at kde.org> wrote:
> Hi Gael,
> I've noticed that slotLoadLibrary(graph_t *) was removed from kpart.
> loadLibrary(graph_t *) is still in dotgraphview but there is no way to
> use it from kpart apart from calling
> kpart->widget()->loadLibrary(graph *) directly. But that would require
> linking to kgraphviewer instead of using it only as a kpart.
> What would be the right approach to have this feature back ? I'm not
> sure if kgraphviewer_interface is the best place to have this. What
> were the reasons to remove this slot ?
> See you,
> Sandro
> 2010/5/13 Gaël (aka Kleag) <kleag at free.fr>:
>> Hello,
>> Even if it is not completely finished, I finally commited yesterday evening the
>> refactoring separating the kgraphviewerlib library and the kgraphviwer_part.
>> It works in kgraphviewer but kgrapheditor compiles but don't works.
>> I commited because I miss time to clean it and that gives you the opportunity
>> to help in designing the right API for both the part and the lib. Now, it
>> should be decided what in the lib API should become a slot for example, as the
>> widget can now be directly integrated and thus need to react with signals and
>> slots.
>> Gaël
>> --
>> KsirK - a world domination strategy game
>> http://techbase.kde.org/Projects/Games/Tactic_and_Strategy/KsirK
>> KGraphViewer - a GraphViz dot graphs viewer and editor based on a reusable
>> part
>> http://extragear.kde.org/apps/kgraphviewer
>> _______________________________________________
>> kgraphviewer-devel mailing list
>> kgraphviewer-devel at kde.org
>> https://mail.kde.org/mailman/listinfo/kgraphviewer-devel

More information about the kgraphviewer-devel mailing list