summaryrefslogtreecommitdiffstats
path: root/qt-ui/simplewidgets.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2014-12-24 13:23:31 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-12-24 07:32:36 -0800
commita76fdd8d54600fee1d82e40fddaf3cf563dbc582 (patch)
tree1c6b42f696a2dcf43fa135cfe6981df0757a3fec /qt-ui/simplewidgets.h
parente49b4b72b719579a2ff49f4add732fb52c40c953 (diff)
downloadsubsurface-a76fdd8d54600fee1d82e40fddaf3cf563dbc582.tar.gz
Create a Facebook album for Subsurface
We still need to do a lot of stuff on that part. Currently when asking for sending a profile, it will just create a private album. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/simplewidgets.h')
-rw-r--r--qt-ui/simplewidgets.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/qt-ui/simplewidgets.h b/qt-ui/simplewidgets.h
index b2b08d552..84f0349a4 100644
--- a/qt-ui/simplewidgets.h
+++ b/qt-ui/simplewidgets.h
@@ -3,6 +3,7 @@
class MinMaxAvgWidgetPrivate;
class QAbstractButton;
+class QNetworkReply;
#include <QWidget>
#include <QDialog>
@@ -18,6 +19,7 @@ class QAbstractButton;
#include "exif.h"
#include <dive.h>
+
class MinMaxAvgWidget : public QWidget {
Q_OBJECT
Q_PROPERTY(double minimum READ minimum WRITE setMinimum)
@@ -212,6 +214,15 @@ 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);