]> git.sur5r.net Git - minitube/blobdiff - src/ytuser.h
Imported Upstream version 2.2
[minitube] / src / ytuser.h
index d7131cdc9ca9b71c94bc3ef042e2fe8e2f29b1d3..631a36601ff217eef25dc64d1cfb4f4a349d06e9 100644 (file)
@@ -42,7 +42,6 @@ public:
 
     uint getWatched() const { return watched; }
     void setWatched(uint watched) { this->watched = watched; }
-    void updateWatched();
 
     int getNotifyCount() const { return notifyCount; }
     void setNotifyCount(int count) { notifyCount = count; }
@@ -62,10 +61,15 @@ public:
 
     static QList<YTUser*> getCachedUsers() { return cache.values(); }
 
+public slots:
+    void updateWatched();
+    void unsubscribe();
+
 signals:
     void infoLoaded();
     void thumbnailLoaded();
     void error(QString message);
+    void notifyCountChanged();
 
 private slots:
     void parseResponse(QByteArray bytes);