[prev in list] [next in list] [prev in thread] [next in thread]
List: kwrite-devel
Subject: Re: [pykde4] sip/ktexteditor: Put some synthetic, but important, methods back into the ktexteditor b
From: Simon Edwards <simon () simonzone ! com>
Date: 2013-05-30 18:50:15
Message-ID: 51A79F67.3050301 () simonzone ! com
[Download RAW message or body]
Hello all,
Thanks for the detailed list. I've made the changes and pushed the lot
to git.
On 05/28/2013 10:45 PM, Dominik Haumann wrote:
> Possible casts for KTextEditor::Plugin, missing in plugin.sip:
> - KTextEditor::SessionConfigInterface
> If a Plugin implements this interface, Kate will call the respective
> read/write functions with the sesion config. So this should probably
> also be casted somehow?
I assume that Plugin is a class which specific plugins need to subclass
and expand on to implement what they need to do. And that Python plugins
also need to subclass it too.
In this case a Python class can't subclass Plugin and
SessionConfigInterface at the same time. To get around this what we can
do is create a small C++ subclass of Plugin and SessionConfigInterface
and exposes that to Python via a binding. (The C++ subclass itself could
be in the bindings. It doesn't need to be in kate's source code.)
cheers,
--
Simon Edwards
simon@simonzone.com
Nijmegen, The Netherlands
_______________________________________________
KWrite-Devel mailing list
KWrite-Devel@kde.org
https://mail.kde.org/mailman/listinfo/kwrite-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic