[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kwrite-devel
Subject:    KTextEditor::Plugin interfaces
From:       Christoph Cullmann <cullmann () babylon2k ! de>
Date:       2002-04-27 17:19:20
[Download RAW message or body]

Hi,
just commited my new interfaces + little sample implementation in kate part + 
a sample "helloworld" plugin into kdelibs/kate/plugins/helloworld.

Short description of the new plugin interface for the kate part:
- is a KTextEditor interface
- only supports the ktexteditor interface methodes for manipulating the 
view/document
- is separated into two kind of plugins: KTextEditor::Plugin (only bound to a 
document, no GUI !) and KTextEditor::ViewPlugin (as name said, bound to a 
KTextEditor::View).
- the current implementation is VERY dumb, it loads all available plugins (as 
only helloworld is there, that is no problem ;)
- the plugins are queried via KTrader, as that is the kde standard for such 
tasks, no properitary "trash" is used (as for the kate app plugins) ;)

TODO:
Make the implementation in kate part better:
- explicit load/unload must be done
- config dialog page for enabling/disabling
- store the config's loaded in settings, ....

cu
Christoph

-- 
Christoph Cullmann
Kate/KDE developer
cullmann@kde.org
http://kate.kde.org


_______________________________________________
kwrite-devel mailing list
kwrite-devel@mail.kde.org
http://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