-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathradiostation.h
More file actions
70 lines (52 loc) · 1.28 KB
/
radiostation.h
File metadata and controls
70 lines (52 loc) · 1.28 KB
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
58
59
60
61
62
63
64
65
66
67
68
69
70
#ifndef RADIOSTATION_H
#define RADIOSTATION_H
#include <QString>
#include <QSignalMapper>
#include <QDateTime>
class Radiostation
{
public:
QString getHref() const;
void setHref(const QString &value);
QString getHtmlUid() const;
void setHtmlUid(const QString &value);
QString getIcon() const;
void setIcon(const QString &value);
QByteArray getIconFile() const;
void setIconFile(const QByteArray &value);
QString getName() const;
void setName(const QString &value);
QString getStreamAddress() const;
void setStreamAddress(const QString &value);
QString getUid() const;
void setUid(const QString &value);
private:
QString href;
QString html_uid;
QString icon;
QByteArray iconFile;
QString name;
QString stream_address;
QString uid;
signals:
public slots:
};
class VersionControl
{
public:
explicit VersionControl();
QString getHash() const;
void setHash(const QString &value);
QDateTime getReleaseDate() const;
void setReleaseDate(const QDateTime &value);
int getIsValid() const;
void setIsValid(int value);
bool getIsSet() const;
void setIsSet(bool value);
private:
QString hash;
QDateTime release_date;
int isValid;
bool isSet;
};
#endif // RADIOSTATION_H