return m_value;
}
+double VoteReply::vote() const
+{
+ return double(m_value) / 1000;
+}
+
AniDBUdpClient::VoteCommand::VoteType VoteReply::voteType() const
{
return m_voteType;
Q_PROPERTY(QString entityName READ entityName);
Q_PROPERTY(int value READ value);
+ Q_PROPERTY(double vote READ vote);
// Q_PROPERTY(AniDBUdpClient::VoteCommand::VoteType voteType READ voteType);
Q_PROPERTY(int entityId READ entityId);
public:
QString entityName() const;
int value() const;
+ double vote() const;
VoteCommand::VoteType voteType() const;
int entityId() const;