summaryrefslogtreecommitdiffstats
path: root/logic/net/PasteUpload.h
diff options
context:
space:
mode:
Diffstat (limited to 'logic/net/PasteUpload.h')
-rw-r--r--logic/net/PasteUpload.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/logic/net/PasteUpload.h b/logic/net/PasteUpload.h
index 55cfabf4..0ddc8cef 100644
--- a/logic/net/PasteUpload.h
+++ b/logic/net/PasteUpload.h
@@ -10,7 +10,14 @@ class PasteUpload : public Task
public:
PasteUpload(QWidget *window, QString text);
virtual ~PasteUpload(){};
-
+ QString pasteLink()
+ {
+ return m_pasteLink;
+ }
+ QString pasteID()
+ {
+ return m_pasteID;
+ }
protected:
virtual void executeTask();
@@ -19,6 +26,8 @@ private:
QString m_text;
QString m_error;
QWidget *m_window;
+ QString m_pasteID;
+ QString m_pasteLink;
std::shared_ptr<QNetworkReply> m_reply;
public
slots: