digiKam
DigikamGenericGoogleServicesPlugin::GDTalker Class Reference
+ Inheritance diagram for DigikamGenericGoogleServicesPlugin::GDTalker:

Signals

void signalAccessTokenObtained ()
 
void signalAddPhotoDone (int, const QString &msg)
 
void signalAuthenticationRefused ()
 
void signalBusy (bool val)
 
void signalCreateFolderDone (int, const QString &msg)
 
void signalLinkingSucceeded ()
 
void signalListAlbumsDone (int, const QString &, const QList< GSFolder > &)
 
void signalReadyToUpload ()
 
void signalSetUserName (const QString &msg)
 
void signalUploadPhotoDone (int, const QString &, const QStringList &)
 

Public Member Functions

bool addPhoto (const QString &imgPath, const GSPhoto &info, const QString &id, bool original, bool rescale, int maxDim, int imageQuality)
 
bool authenticated () const
 
void cancel ()
 
void createFolder (const QString &title, const QString &id)
 
void doOAuth ()
 
 GDTalker (QWidget *const parent)
 
void getUserName ()
 
void link ()
 
void listFolders ()
 
void unlink ()
 
 ~GDTalker () override
 

Protected Attributes

QString m_accessToken
 
QString m_bearerAccessToken
 
QNetworkReply * m_reply
 
QStringList m_scope
 
QString m_serviceName
 

Constructor & Destructor Documentation

◆ GDTalker()

DigikamGenericGoogleServicesPlugin::GDTalker::GDTalker ( QWidget *const  parent)
explicit

References signalReadyToUpload().

◆ ~GDTalker()

DigikamGenericGoogleServicesPlugin::GDTalker::~GDTalker ( )
override

Member Function Documentation

◆ addPhoto()

◆ authenticated()

bool DigikamGenericGoogleServicesPlugin::GSTalkerBase::authenticated ( ) const
inherited

◆ cancel()

void DigikamGenericGoogleServicesPlugin::GDTalker::cancel ( )

◆ createFolder()

void DigikamGenericGoogleServicesPlugin::GDTalker::createFolder ( const QString &  title,
const QString &  id 
)

◆ doOAuth()

void DigikamGenericGoogleServicesPlugin::GSTalkerBase::doOAuth ( )
inherited

If user has not logined yet (sessionExpires == 0), link If access token has expired yet, refresh TODO: Otherwise, provoke slotLinkingSucceeded

References DigikamGenericGoogleServicesPlugin::GSTalkerBase::link().

◆ getUserName()

◆ link()

void DigikamGenericGoogleServicesPlugin::GSTalkerBase::link ( )
inherited

◆ listFolders()

void DigikamGenericGoogleServicesPlugin::GDTalker::listFolders ( )

◆ signalAccessTokenObtained

void DigikamGenericGoogleServicesPlugin::GSTalkerBase::signalAccessTokenObtained ( )
signalinherited

◆ signalAddPhotoDone

void DigikamGenericGoogleServicesPlugin::GDTalker::signalAddPhotoDone ( int  ,
const QString &  msg 
)
signal

◆ signalAuthenticationRefused

void DigikamGenericGoogleServicesPlugin::GSTalkerBase::signalAuthenticationRefused ( )
signalinherited

◆ signalBusy

◆ signalCreateFolderDone

void DigikamGenericGoogleServicesPlugin::GDTalker::signalCreateFolderDone ( int  ,
const QString &  msg 
)
signal

◆ signalLinkingSucceeded

void DigikamGenericGoogleServicesPlugin::GSTalkerBase::signalLinkingSucceeded ( )
signalinherited

◆ signalListAlbumsDone

void DigikamGenericGoogleServicesPlugin::GDTalker::signalListAlbumsDone ( int  ,
const QString &  ,
const QList< GSFolder > &   
)
signal

◆ signalReadyToUpload

void DigikamGenericGoogleServicesPlugin::GDTalker::signalReadyToUpload ( )
signal

Referenced by GDTalker().

◆ signalSetUserName

void DigikamGenericGoogleServicesPlugin::GDTalker::signalSetUserName ( const QString &  msg)
signal

◆ signalUploadPhotoDone

void DigikamGenericGoogleServicesPlugin::GDTalker::signalUploadPhotoDone ( int  ,
const QString &  ,
const QStringList &   
)
signal

◆ unlink()

Member Data Documentation

◆ m_accessToken

QString DigikamGenericGoogleServicesPlugin::GSTalkerBase::m_accessToken
protectedinherited

◆ m_bearerAccessToken

◆ m_reply

◆ m_scope

QStringList DigikamGenericGoogleServicesPlugin::GSTalkerBase::m_scope
protectedinherited

◆ m_serviceName

QString DigikamGenericGoogleServicesPlugin::GSTalkerBase::m_serviceName
protectedinherited

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