summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/plugins/facebook/facebookconnectwidget.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2017-10-02 12:55:13 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-10-02 08:52:03 -0700
commita2734e6aaf4c7e10624342a69f127789ea22b5ab (patch)
treefe321aeb7294ac9a1475cd2a5b61b75e41c86ced /desktop-widgets/plugins/facebook/facebookconnectwidget.h
parent5778dceb5201544df7d89b27995b9ede6db1ae76 (diff)
downloadsubsurface-a2734e6aaf4c7e10624342a69f127789ea22b5ab.tar.gz
[Facebook] New method, grabProfilePixmap
Just some code organization Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/plugins/facebook/facebookconnectwidget.h')
-rw-r--r--desktop-widgets/plugins/facebook/facebookconnectwidget.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/desktop-widgets/plugins/facebook/facebookconnectwidget.h b/desktop-widgets/plugins/facebook/facebookconnectwidget.h
index 793cf4bee..adc84dda4 100644
--- a/desktop-widgets/plugins/facebook/facebookconnectwidget.h
+++ b/desktop-widgets/plugins/facebook/facebookconnectwidget.h
@@ -36,6 +36,7 @@ public:
QUrl connectUrl();
QUrl albumListUrl();
bool loggedIn();
+ QPixmap grabProfilePixmap();
signals:
void justLoggedIn(bool triggererd);
void justLoggedOut(bool triggered);
@@ -53,6 +54,7 @@ public slots:
private:
explicit FacebookManager(QObject *parent = 0);
QString albumName;
+ FacebookInfo fbInfo;
QNetworkAccessManager *manager;
};