mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
e49b4b72b7
commit
a76fdd8d54
5 changed files with 77 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue