Changed Facebook stuff to socialnetworks.h/cpp

All Facebook related stuff now is on SocialNetworks.h/cpp
this makes it much easier to implement things and looking
for bugs.

working:
- logging in
- getting user id
- getting album id ( or creating it )

*much* more testing is needed, of course.

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2014-12-24 21:34:23 -02:00 committed by Dirk Hohndel
parent c8c17dc01e
commit ee5d93e155
11 changed files with 247 additions and 154 deletions

View file

@ -214,15 +214,6 @@ private:
Ui::FilterWidget ui;
};
class FacebookManager : public QObject {
Q_OBJECT
public:
FacebookManager();
bool checkAlbumExists();
void createAlbum();
signals:
void requestFinished(const QString& result);
};
bool isGnome3Session();
QImage grayImage(const QImage &coloredImg);