Results 1 to 15 of 15

Thread: C++11/Qt & Dropbox v2 API in dropboxQt

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Nov 2016
    Posts
    8
    Thanked 1 Time in 1 Post
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default C++11/Qt & Dropbox v2 API in dropboxQt

    We recently uploaded to github Qt5 adaptation of Dropbox v2 API, see https://github.com/osoftteam/dropboxQt and homepage http://prokarpaty.net/dropbox.php

    Would be interesting to hear valuable feedbacks.
    It's called dropboxQt. What is special about this code is that it was mostly generated from something called Dropbox Stone documentation. It is kind a big, because API itself contains about 400 classes, but we tried hard to bring structure into code and create clean interface.

    Some details about implementation - we used lambdas for slots, unique_ptr and factories for result types, also exceptions are heavily used (there are couple dozen of them) because they fit into Dropbox solutions. There are also convenience functions that don't throw exceptions but provide top level access, for example:

    bool downloadFile(QString dropboxFilePath, QString localDestinationPath);
    bool uploadFile(QString localFilePath, QString dropboxDestinationPath);
    bool fileExists(QString dropboxPath);
    bool folderExists(QString dropboxPath);

  2. The following user says thank you to osoft for this useful post:

    TorAn (9th November 2016)

Similar Threads

  1. QWebview not logging in to Dropbox
    By marjun in forum Qt Programming
    Replies: 0
    Last Post: 13th February 2012, 09:04
  2. Dropbox-like file status effect
    By produktdotestow in forum General Programming
    Replies: 3
    Last Post: 15th March 2011, 17:10

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.