X-Git-Url: https://git.sur5r.net/?p=minitube;a=blobdiff_plain;f=src%2Fytuser.h;h=631a36601ff217eef25dc64d1cfb4f4a349d06e9;hp=d7131cdc9ca9b71c94bc3ef042e2fe8e2f29b1d3;hb=e911bb9726db1c3e46ba365e52f7541b8f4a47d4;hpb=e1b27669bf677853c8bdf9ccb49173c52a8df5da diff --git a/src/ytuser.h b/src/ytuser.h index d7131cd..631a366 100644 --- a/src/ytuser.h +++ b/src/ytuser.h @@ -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 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);