Website updated.
[irwi] / src / remote.h
index 3c2720f..b59a495 100644 (file)
@@ -3,12 +3,13 @@
 
 #include <QObject>
 #include <QString>
-#include <QNetworkReply>
-#include <QNetworkAccessManager>
 #include <QSettings>
 
 #include "rating.h"
 
+class QNetworkReply;
+class QNetworkAccessManager;
+
 class Remote : public QObject
 {
     Q_OBJECT
@@ -19,6 +20,7 @@ public:
             int rating = 0, int voteCount = 0);
     Remote(const Remote &);
     Remote &operator=(const Remote &);
+    bool operator==(const Remote &other) const;
     ~Remote();
 
     //getters
@@ -39,6 +41,7 @@ private slots:
 signals:
     void infoUpdated();
     void saveFinished();
+    void ratingSent();
 
 private:
     QString m_name;