Fwd: Upload-Plugin
Niko Sams
niko.sams at gmail.com
Wed Jan 23 18:41:43 UTC 2008
Forwarding my message, as it still doesn't show up on kdevelop-devel
---------- Weitergeleitete Nachricht ----------
Betreff: [quanta-devel] Upload-Plugin
Datum: Montag, 21. Januar 2008
Von: Niko Sams <niko.sams at gmail.com>
An: quanta-devel at kde.org, kdevelop-devel at kdevelop.org
Hello,
I did some work on an upload plugin for Quanta4. And I'm asking you now to
review my code - this is the first time I'm working with KConfig, KIO, KDevelop...
I tested it with quanta - but it should work also with kdevelop - as it has no dependencies
on quanta.
Installation:
Apply the attached upload.diff to quanta and extract upload.tar.gz.
Additionally a small fix for quanta projectfilemanager.diff I made - it adds folders
as folders and not files to the project.
Usage:
- open a project
- Settings -> Configure Project
- Upload, edit profiles there
- rightclick a project-item, select upload
Uploadprofiles and times of uploads will be saved in the developer-project-config.
And now my questions:
- where could a upload-action be placed? (Context-Menu for the project-items is
not very intuitive - it should be in some menu)
But how does such a action know what project is active?
- Is the model-proxy approach I made with UploadProjectModel a good idea?
- three files are linked into the plugin and the pref-plugin; can i avoid this?
- uploaddialog.cpp:176 is that working?
Please tell me whats good/bad about the plugin - and for what parts there would
be a easier/better solultion...
Niko
-------------- next part --------------
A non-text attachment was scrubbed...
Name: upload.diff
Type: text/x-diff
Size: 2074 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20080123/827ff065/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: upload.tar.gz
Type: application/x-tgz
Size: 11771 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20080123/827ff065/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: projectfilemanager.diff
Type: text/x-diff
Size: 1777 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20080123/827ff065/attachment-0002.bin>
More information about the KDevelop-devel
mailing list