mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
22 lines
316 B
C++
22 lines
316 B
C++
#ifndef LAZYLOADEDIMAGE_H
|
|
#define LAZYLOADEDIMAGE_H
|
|
|
|
#include "QString"
|
|
#include "QImage"
|
|
|
|
class LazyLoadedImage
|
|
{
|
|
public:
|
|
LazyLoadedImage(QString url);
|
|
LazyLoadedImage(QImage* image);
|
|
|
|
QImage* image() {
|
|
return m_image;
|
|
}
|
|
|
|
private:
|
|
QImage* m_image = NULL;
|
|
};
|
|
|
|
#endif // LAZYLOADEDIMAGE_H
|