diff options
author | Petr Mrázek <peterix@gmail.com> | 2014-06-28 17:07:08 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2014-06-28 17:07:08 +0200 |
commit | e8731c5d013e67ee0153d5a49b38b0e914d14aa0 (patch) | |
tree | ab3611681ec35ea8f10aa7b9a7770c1356b3ef22 /gui/dialogs/ScreenshotDialog.h | |
parent | 30b1f5e5cf935689fc628e37016e650655153d00 (diff) | |
download | PrismLauncher-e8731c5d013e67ee0153d5a49b38b0e914d14aa0.tar.gz PrismLauncher-e8731c5d013e67ee0153d5a49b38b0e914d14aa0.tar.bz2 PrismLauncher-e8731c5d013e67ee0153d5a49b38b0e914d14aa0.zip |
Turn screenshot management into a page.
Diffstat (limited to 'gui/dialogs/ScreenshotDialog.h')
-rw-r--r-- | gui/dialogs/ScreenshotDialog.h | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/gui/dialogs/ScreenshotDialog.h b/gui/dialogs/ScreenshotDialog.h deleted file mode 100644 index 29dd6765..00000000 --- a/gui/dialogs/ScreenshotDialog.h +++ /dev/null @@ -1,40 +0,0 @@ -#pragma once - -#include <QDialog> -#include "logic/screenshots/ScreenshotList.h" - -class ImgurAlbumCreation; - -namespace Ui -{ -class ScreenshotDialog; -} - -class ScreenshotDialog : public QDialog -{ - Q_OBJECT - -public: - explicit ScreenshotDialog(ScreenshotList *list, QWidget *parent = 0); - ~ScreenshotDialog(); - - enum - { - NothingDone = 0x42 - }; - - QString message() const; - QList<ScreenshotPtr> selected() const; - -private -slots: - void on_uploadBtn_clicked(); - - void on_deleteBtn_clicked(); - -private: - Ui::ScreenshotDialog *ui; - ScreenshotList *m_list; - QList<ScreenshotPtr> m_uploaded; - std::shared_ptr<ImgurAlbumCreation> m_imgurAlbum; -}; |