projects
/
irwi
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
New architecture
[irwi]
/
src
/
remote.h
1
#ifndef REMOTE_H
2
#define REMOTE_H
3
4
#include <QObject>
5
#include <QString>
6
7
namespace Rating {
8
typedef bool Rating;
9
Rating Up = true;
10
Rating Down = false;
11
}
12
13
class Remote
14
{
15
Q_OBJECT
16
public:
17
Remote(const QString &name);
18
19
//getters
20
QString name() const;
21
QString mfg() const;
22
int rating() const;
23
int voteCount() const;
24
25
public slots:
26
void saveToFile();
27
void updateInfo();
28
void sendRating(Rating::Rating);
29
30
signals:
31
void infoUpdated();
32
};
33
34
#endif
35