Turn screenshot management into a page.

This commit is contained in:
Petr Mrázek
2014-06-28 17:07:08 +02:00
parent 30b1f5e5cf
commit e8731c5d01
17 changed files with 33 additions and 488 deletions

View File

@ -2,18 +2,18 @@
#include <QDateTime>
#include <QString>
#include <QFileInfo>
#include <memory>
#include <QIcon>
struct ScreenShot
{
QIcon getImage();
QIcon m_image;
bool imageloaded = false;
QDateTime timestamp;
QString file;
QString url;
QString imgurId;
ScreenShot(QFileInfo file)
{
m_file = file;
}
QFileInfo m_file;
QString m_url;
QString m_imgurId;
};
typedef std::shared_ptr<ScreenShot> ScreenshotPtr;