Bug 247896

Summary: Please add katepart's MovingInterface to the python bindings
Product: [Developer tools] bindings Reporter: Wilbert Berendsen <wbsoft>
Component: pykdeAssignee: kde-bindings
Status: RESOLVED UNMAINTAINED    
Severity: major CC: i.zaufi, simon, stasnel
Priority: HI    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Wilbert Berendsen 2010-08-14 22:22:02 UTC
Version:           unspecified (using KDE 4.5.0) 
OS:                Linux

In PyKDE4 from KDE 4.5.0 I can't yet use the KTextEditor::MovingInterface stuff from Python. That's needed for my Frescobaldi project (a LilyPond text/music editor written in Python using KatePart) because all the Smart* stuff will be removed in KDE 4.6.

Reproducible: Didn't try
Comment 1 Alex Turbov 2013-03-02 19:51:50 UTC
since kate has python plugins support I've discovered that also pykde4 lack of TemplateInterface2 interface! and nowadays there is no way to access templating interface from python due kate supports only version 2 of it...
Comment 2 Alex Turbov 2013-03-02 19:55:17 UTC
anyone can tell me how to generate .sip files??? all current .sip files mention *mystic* `preSip` utility in generated comments, I've googled for it w/o any meaningfull results :(
Comment 3 Dominik Haumann 2013-04-24 20:24:19 UTC
@Simon: Since you know how the PyQt-bindings work, do you have an idea how to create sip files for, let's say, KTextEditor interfaces?

Since we extend the KTextEditor interfaces from time to time, and iiuc it looks as if it's not up-to-date. And the other Python guys seem to have no idea as well.

Feedback is very much appreciated.
Comment 4 Alex Turbov 2013-05-04 23:26:33 UTC
there is also few more interfaces to be added/updated to PyKDE4:
* CodeCompletionModel2 -- absent
* CodeCompletionModel must be updated -- there is no ExtraItemDataRoles::GroupRole at least. maybe smth else...
* CodeCompletionModelControllerInterface3 -- PyKDE4 doesn't have even 1st generation!
Comment 5 Alex Turbov 2013-11-30 05:26:09 UTC
still missed `HighlightInterface.lineAttributes()` and nested AttributeBlock structure.
Also need to add a .sip file for MessageInsterface (added since 4.11)
Comment 6 Andrew Crouthamel 2018-11-17 05:27:42 UTC
Hello, unfortunately this bug is being closed as unmaintained, per request of einar77.