On 05/11/2014 07:50 AM, Chris Cannam wrote:
>
>
> On Sun, May 11, 2014, at 09:55 AM, Tim Munro wrote:
>> By far the ugliest large change involves preserving the remote-url
>> capability of the FileSource class.
>
> This class comes originally from Sonic Visualiser. There is a version
> updated for Qt5 (using QNetworkAccessManager) in the SV source tree, see
> http://code.soundsoftware.ac.uk/projects/svcore/repository/entry/data/fileio/FileSource.h
> and .cpp.

I did use QNetworkAccessManager for the StartupTester class but found
it has no FTP capability and provides no feedback for HTTP file
transfers (not that the progress dialog works anyway).

I found no formal plumbing for remote file transfers (Doxigen wasn't
much help), so for now I arranged for FileDialog to accept complete
urls, as well as the usual local file selections:

   http://foo.somewhere.bar/dir1/dir2/whatever.xx

or

   ftp://username:passw...@foo.somewhere.bar/dir1/dir2/whatever.xx

I decided to call it a day, when it became obvious I was getting
bogged down repairing old features, rather than simply porting them.

Tim Munro

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Rosegarden-devel mailing list
Rosegarden-devel@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to