Find the Best Demos and Examples

Check out this quick tour to find the best demos and examples for you, and to see how the Felgo SDK can help you to develop your next app or game!

Qt World Summit Conference App


 #include <QNetworkReply>
 #include <QNetworkCacheMetaData>

 //QNetworkReply implementation which reads from the QNetworkDiskCache
 //partly copied from QNetworkReplyDataImpl, which is private
 class CacheReply : public QNetworkReply {
   CacheReply(QIODevice *cacheDev, const QNetworkRequest & req,
              QNetworkAccessManager::Operation op,
              QNetworkCacheMetaData meta, QObject *parent = 0);

   void abort() Q_DECL_OVERRIDE;
   qint64 bytesAvailable() const Q_DECL_OVERRIDE;
   bool isSequential() const Q_DECL_OVERRIDE;
   qint64 size() const Q_DECL_OVERRIDE;
   qint64 readData(char *data, qint64 maxlen) Q_DECL_OVERRIDE;

   QIODevice *mCacheDev;