Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F627846
AvatarLoader.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
624 B
Referenced Files
None
Subscribers
None
AvatarLoader.h
View Options
#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
Details
Attached
Mime Type
text/x-c++
Expires
Sun, Nov 15, 2:50 AM (1 d, 22 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
121146
Default Alt Text
AvatarLoader.h (624 B)
Attached To
Mode
R77 Guitar
Attached
Detach File
Event Timeline