[Facebook] Prepare the FacebookInfo struct

This will hold the information for the profile upload.

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2017-10-02 12:50:40 +02:00 committed by Dirk Hohndel
parent ba8e6878a8
commit 5778dceb52
2 changed files with 17 additions and 9 deletions

View file

@ -17,6 +17,15 @@ namespace Ui {
class SocialnetworksDialog;
}
struct FacebookInfo {
enum Size {SMALL, MEDIUM, BIG};
QString bodyText;
QString albumId;
Size profileSize;
QPixmap profileData;
};
class FacebookManager : public QObject
{
Q_OBJECT
@ -66,12 +75,11 @@ private:
class SocialNetworkDialog : public QDialog {
Q_OBJECT
public:
enum Size {SMALL, MEDIUM, BIG};
SocialNetworkDialog(QWidget *parent = 0);
QString text() const;
QString album() const;
Size profileSize() const;
FacebookInfo::Size profileSize() const;
public slots:
void selectionChanged();