QEverCloud 6.1.0
Unofficial Evernote Cloud API for Qt
Loading...
Searching...
No Matches
InkNoteImageDownloader.h
Go to the documentation of this file.
1
8#ifndef QEVERCLOD_INK_NOTE_IMAGE_DOWNLOADER_H
9#define QEVERCLOD_INK_NOTE_IMAGE_DOWNLOADER_H
10
11#include "AsyncResult.h"
12#include "Export.h"
13
14#include "generated/Types.h"
15
16#include <QByteArray>
17#include <QString>
18#include <QNetworkAccessManager>
19
20namespace qevercloud {
21
23class InkNoteImageDownloaderPrivate;
43{
44public:
52
69 QString host, QString shardId, QString authenticationToken, int width,
70 int height);
71
73
79
86
93 QString authenticationToken);
94
100
106
132 QByteArray download(
133 Guid guid, const bool isPublic = false,
134 const qint64 timeoutMsec = 30000);
135
136private:
137 InkNoteImageDownloaderPrivate * const d_ptr;
138 Q_DECLARE_PRIVATE(InkNoteImageDownloader)
139};
140
141} // namespace qevercloud
142
143#endif // QEVERCLOD_INK_NOTE_IMAGE_DOWNLOADER_H
#define QEVERCLOUD_EXPORT
Definition Export.h:19
the InkNoteImageDownloader class is for downloading the images of ink notes which can be created with...
Definition InkNoteImageDownloader.h:43
InkNoteImageDownloader(QString host, QString shardId, QString authenticationToken, int width, int height)
Constructs InkNoteImageDownloader.
InkNoteImageDownloader & setShardId(QString shardId)
InkNoteImageDownloader()
Default constructor.
InkNoteImageDownloader & setHost(QString host)
InkNoteImageDownloader & setAuthenticationToken(QString authenticationToken)
InkNoteImageDownloader & setHeight(int height)
QByteArray download(Guid guid, const bool isPublic=false, const qint64 timeoutMsec=30000)
Downloads the image for the ink note.
InkNoteImageDownloader & setWidth(int width)
Definition AsyncResult.h:21
QString Guid
Definition Types.h:62