Page MenuHomePhabricator (Chris)

AvatarLoader.h
No OneTemporary

Authored By
Unknown
Size
624 B
Referenced Files
None
Subscribers
None

AvatarLoader.h

#ifndef AVATARLOADER_H
#define AVATARLOADER_H
#include "GitHubAPI.h"
#include <QIcon>
#include <QThread>
#include <QMutex>
#include <deque>
#include <set>
#include <string>
class BasicMainWindow;
class WebContext;
class AvatarLoader : public QThread {
Q_OBJECT
private:
struct RequestItem {
std::string email;
QImage image;
};
struct Private;
Private *m;
protected:
void run() override;
public:
AvatarLoader();
~AvatarLoader() override;
QIcon fetch(std::string const &email, bool request) const;
void stop();
void start(BasicMainWindow *mainwindow);
signals:
void updated();
};
#endif // AVATARLOADER_H

File Metadata

Mime Type
text/x-c++
Expires
Sun, Nov 15, 2:50 AM (1 d, 23 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
121146
Default Alt Text
AvatarLoader.h (624 B)

Event Timeline