Extending Quanta
Milian Wolff <[email protected]> Wed, 13 Jun 2007 21:17:44 +0200
| Newsgroups | gmane.comp.kde.devel.quanta |
|---|---|
| Message-ID | <[email protected]> |
Hi Quanta-Devels! I want to extend Quanta with two features but I do not now where to start. First extension: I have a local project and copy the files after changes via F8 and ftp to the server (Upload Project...). But since Quanta only has some internal heuristics to check wether a file was changed or not I want to write a little script which (after pressing a button or even better after opening a project) syncs new files from the server to my local copy. This would prevent me from overwriting changes made by other people to the files on the server. I think all I'd need for this is a plugin interface so I can bind my button somewhere inside Quanta and a way to get the `*.webprj` of the current project. The second thing I want to do is a little PHP Code Styler. It should come with a setting menu where one can define indentation / bracket / etc styles. Than hitting a menu entry / key combo the current file (maybe later on all `*.php` files in the project) should be processed and adapted to the selected Code Style. I think this should be possible with some RegEx magic or whatever. I just don't now how to populate that feature to quanta. So: Is it possibly to extend Quanta in some way? It should be possible with Kommander if I am not mistaken. This is taken from the quanta website: > Here on this site you will find information on using Kommander to visually > build dialogs you can extend Quanta with. But I cannot find this information anywhere... What do you think would be the best way to go? I want to write these features to be available to me asap, so It wont be possible to use KDE4 features. I'd be willing to start C++ / Qt / KDE hacking if there is no other alternative since that is one point on my todo list for some time now anyways ;-) I'd just need some help and directions. Thanks and keep up your work on this great app! -- Milian Wolff http://milianw.de