aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/socialnetworks.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2014-12-28 21:43:38 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-12-29 09:06:55 -0800
commitb84edad59766e5f59f6c3dcf5bb3a2ec24fc3eec (patch)
tree8d25cfc30bf81c244b9fe9b0b78d2d366790af7b /qt-ui/socialnetworks.h
parentecd0f25c04652115477bb1d9fcd78fd7ecaba916 (diff)
downloadsubsurface-b84edad59766e5f59f6c3dcf5bb3a2ec24fc3eec.tar.gz
Facebook integration: Add an interface to select the stuff that's sent
Generate the stub message that will go on the Facebook picture upload. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/socialnetworks.h')
-rw-r--r--qt-ui/socialnetworks.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/qt-ui/socialnetworks.h b/qt-ui/socialnetworks.h
index 66a95f22a..1a5a2a0ba 100644
--- a/qt-ui/socialnetworks.h
+++ b/qt-ui/socialnetworks.h
@@ -3,6 +3,7 @@
#include <QObject>
#include <QUrl>
+#include <QDialog>
class FacebookManager : public QObject
{
@@ -29,4 +30,19 @@ private:
QString albumName;
};
+namespace Ui {
+ class SocialnetworksDialog;
+}
+
+class SocialNetworkDialog : public QDialog {
+ Q_OBJECT
+public:
+ SocialNetworkDialog(QWidget *parent);
+ QString text() const;
+ QString album() const;
+public slots:
+ void selectionChanged();
+private:
+ Ui::SocialnetworksDialog *ui;
+};
#endif // FACEBOOKMANAGER_H