-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathimagerequestcacheentry.cpp
More file actions
57 lines (47 loc) · 1002 Bytes
/
Copy pathimagerequestcacheentry.cpp
File metadata and controls
57 lines (47 loc) · 1002 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#include "imagerequestcacheentry.h"
ImageRequestCacheEntry::ImageRequestCacheEntry():
channelName(),
boxArtUrl()
{
imageWidth = 0;
imageHeight = 0;
}
ImageRequestCacheEntry::ImageRequestCacheEntry(QString channel, int width, int height):
channelName(channel),
boxArtUrl()
{
imageWidth = width;
imageHeight = height;
}
QString ImageRequestCacheEntry::getChannel() const
{
return channelName;
}
void ImageRequestCacheEntry::setChannel(const QString &value)
{
channelName = value;
}
int ImageRequestCacheEntry::getWidth() const
{
return imageWidth;
}
void ImageRequestCacheEntry::setWidth(int value)
{
imageWidth = value;
}
int ImageRequestCacheEntry::getHeight() const
{
return imageHeight;
}
void ImageRequestCacheEntry::setHeight(int value)
{
imageHeight = value;
}
QString ImageRequestCacheEntry::getBoxArtUrl() const
{
return boxArtUrl;
}
void ImageRequestCacheEntry::setBoxArtUrl(const QString &value)
{
boxArtUrl = value;
}