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