2015-10-29 23:47:08 +00:00
|
|
|
#include "facebook_integration.h"
|
2015-11-08 12:51:50 +00:00
|
|
|
#include "facebookconnectwidget.h"
|
|
|
|
|
|
|
|
#include <QDebug>
|
2015-10-29 23:47:08 +00:00
|
|
|
|
|
|
|
FacebookPlugin::FacebookPlugin(QObject* parent): QObject(parent)
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
bool FacebookPlugin::isConnected()
|
|
|
|
{
|
2015-11-07 20:46:29 +00:00
|
|
|
return false;
|
2015-10-29 23:47:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void FacebookPlugin::requestLogin()
|
|
|
|
{
|
2015-11-08 12:51:50 +00:00
|
|
|
FacebookConnectWidget connectDialog;
|
|
|
|
connectDialog.exec();
|
2015-10-29 23:47:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void FacebookPlugin::requestLogoff()
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
QString FacebookPlugin::socialNetworkIcon() const
|
|
|
|
{
|
|
|
|
return QString();
|
|
|
|
}
|
|
|
|
|
|
|
|
QString FacebookPlugin::socialNetworkName() const
|
|
|
|
{
|
|
|
|
return tr("Facebook");
|
|
|
|
}
|
|
|
|
|
2015-11-08 12:58:59 +00:00
|
|
|
void FacebookPlugin::requestUpload()
|
2015-10-29 23:47:08 +00:00
|
|
|
{
|
2015-11-08 12:58:59 +00:00
|
|
|
qDebug() << "Upload Requested";
|
2015-10-29 23:47:08 +00:00
|
|
|
}
|