digiKam
DigikamGenericFaceBookPlugin::FbTalker Class Reference
+ Inheritance diagram for DigikamGenericFaceBookPlugin::FbTalker:

Signals

void linkingSucceeded ()
 
void signalAddPhotoDone (int errCode, const QString &errMsg)
 
void signalBusy (bool val)
 
void signalCreateAlbumDone (int errCode, const QString &errMsg, const QString &newAlbumId)
 
void signalListAlbumsDone (int errCode, const QString &errMsg, const QList< FbAlbum > &albumsList)
 
void signalLoginDone (int errCode, const QString &errMsg)
 
void signalLoginDone (int errCode, const QString &errMsg)
 
void signalLoginProgress (int step, int maxStep=0, const QString &label=QString())
 
void signalLoginProgress (int step, int maxStep=0, const QString &label=QString())
 

Public Member Functions

void addPhoto (const QString &imgPath, const QString &albumID, const QString &caption)
 
void addPhoto (const QString &imgPath, const QString &albumID, const QString &caption)
 
void authenticate ()
 
void cancel ()
 
void createAlbum (const FbAlbum &album)
 
void createAlbum (const FbAlbum &album)
 
void createNewAlbum ()
 
 FbTalker (QWidget *const parent)
 
 FbTalker (QWidget *const parent, WSNewAlbumDialog *albumDlg=0)
 
FbUser getUser () const
 
FbUser getUser () const
 
void link ()
 
void link ()
 
bool linked ()
 
bool linked () const
 
void listAlbums (long long userID=0)
 
void listAlbums (long long userID=0)
 
void logout ()
 
void logout ()
 
void readSettings ()
 
void resetTalker (const QString &expire, const QString &accessToken, const QString &refreshToken)
 
void unlink ()
 
void unlink ()
 
void writeSettings ()
 
 ~FbTalker ()
 
 ~FbTalker ()
 

Constructor & Destructor Documentation

◆ FbTalker() [1/2]

DigikamGenericFaceBookPlugin::FbTalker::FbTalker ( QWidget *const  parent)
explicit

References linkingSucceeded().

◆ ~FbTalker() [1/2]

DigikamGenericFaceBookPlugin::FbTalker::~FbTalker ( )

◆ FbTalker() [2/2]

DigikamGenericFaceBookPlugin::FbTalker::FbTalker ( QWidget *const  parent,
WSNewAlbumDialog albumDlg = 0 
)
explicit

References linkingSucceeded().

◆ ~FbTalker() [2/2]

DigikamGenericFaceBookPlugin::FbTalker::~FbTalker ( )

Member Function Documentation

◆ addPhoto() [1/2]

◆ addPhoto() [2/2]

void DigikamGenericFaceBookPlugin::FbTalker::addPhoto ( const QString &  imgPath,
const QString &  albumID,
const QString &  caption 
)

◆ authenticate()

void DigikamGenericFaceBookPlugin::FbTalker::authenticate ( )

References signalLoginProgress().

◆ cancel()

void DigikamGenericFaceBookPlugin::FbTalker::cancel ( )

References signalBusy().

◆ createAlbum() [1/2]

◆ createAlbum() [2/2]

void DigikamGenericFaceBookPlugin::FbTalker::createAlbum ( const FbAlbum album)

◆ createNewAlbum()

void DigikamGenericFaceBookPlugin::FbTalker::createNewAlbum ( )

References createAlbum().

◆ getUser() [1/2]

FbUser DigikamGenericFaceBookPlugin::FbTalker::getUser ( ) const

◆ getUser() [2/2]

FbUser DigikamGenericFaceBookPlugin::FbTalker::getUser ( ) const

◆ link() [1/2]

void DigikamGenericFaceBookPlugin::FbTalker::link ( )

◆ link() [2/2]

void DigikamGenericFaceBookPlugin::FbTalker::link ( )

◆ linked() [1/2]

bool DigikamGenericFaceBookPlugin::FbTalker::linked ( )

◆ linked() [2/2]

bool DigikamGenericFaceBookPlugin::FbTalker::linked ( ) const

◆ linkingSucceeded

void DigikamGenericFaceBookPlugin::FbTalker::linkingSucceeded ( )
signal

Referenced by FbTalker(), readSettings(), and unlink().

◆ listAlbums() [1/2]

void DigikamGenericFaceBookPlugin::FbTalker::listAlbums ( long long  userID = 0)

◆ listAlbums() [2/2]

void DigikamGenericFaceBookPlugin::FbTalker::listAlbums ( long long  userID = 0)

◆ logout() [1/2]

void DigikamGenericFaceBookPlugin::FbTalker::logout ( )

Compute MD5 signature using url queries keys and values: wiki.developers.facebook.com/index.php/How_Facebook_Authenticates_Your_Application This method was used for the legacy authentication scheme and has been obsoleted with OAuth2 authentication.

References signalBusy().

◆ logout() [2/2]

void DigikamGenericFaceBookPlugin::FbTalker::logout ( )

◆ readSettings()

void DigikamGenericFaceBookPlugin::FbTalker::readSettings ( )

◆ resetTalker()

void DigikamGenericFaceBookPlugin::FbTalker::resetTalker ( const QString &  expire,
const QString &  accessToken,
const QString &  refreshToken 
)

◆ signalAddPhotoDone

void DigikamGenericFaceBookPlugin::FbTalker::signalAddPhotoDone ( int  errCode,
const QString &  errMsg 
)
signal

Referenced by addPhoto().

◆ signalBusy

void DigikamGenericFaceBookPlugin::FbTalker::signalBusy ( bool  val)
signal

◆ signalCreateAlbumDone

void DigikamGenericFaceBookPlugin::FbTalker::signalCreateAlbumDone ( int  errCode,
const QString &  errMsg,
const QString &  newAlbumId 
)
signal

◆ signalListAlbumsDone

void DigikamGenericFaceBookPlugin::FbTalker::signalListAlbumsDone ( int  errCode,
const QString &  errMsg,
const QList< FbAlbum > &  albumsList 
)
signal

◆ signalLoginDone [1/2]

void DigikamGenericFaceBookPlugin::FbTalker::signalLoginDone ( int  errCode,
const QString &  errMsg 
)
signal

Referenced by readSettings().

◆ signalLoginDone [2/2]

void DigikamGenericFaceBookPlugin::FbTalker::signalLoginDone ( int  errCode,
const QString &  errMsg 
)
signal

◆ signalLoginProgress [1/2]

void DigikamGenericFaceBookPlugin::FbTalker::signalLoginProgress ( int  step,
int  maxStep = 0,
const QString &  label = QString() 
)
signal

Referenced by authenticate(), link(), and listAlbums().

◆ signalLoginProgress [2/2]

void DigikamGenericFaceBookPlugin::FbTalker::signalLoginProgress ( int  step,
int  maxStep = 0,
const QString &  label = QString() 
)
signal

◆ unlink() [1/2]

void DigikamGenericFaceBookPlugin::FbTalker::unlink ( )

References linkingSucceeded().

◆ unlink() [2/2]

void DigikamGenericFaceBookPlugin::FbTalker::unlink ( )

◆ writeSettings()

void DigikamGenericFaceBookPlugin::FbTalker::writeSettings ( )

The documentation for this class was generated from the following files: