digiKam
DigikamGenericOneDrivePlugin::ODTalker Class Reference
+ Inheritance diagram for DigikamGenericOneDrivePlugin::ODTalker:

Signals

void oneDriveLinkingFailed ()
 
void oneDriveLinkingSucceeded ()
 
void signalAddPhotoFailed (const QString &msg)
 
void signalAddPhotoSucceeded ()
 
void signalBusy (bool val)
 
void signalCreateFolderFailed (const QString &msg)
 
void signalCreateFolderSucceeded ()
 
void signalLinkingFailed ()
 
void signalLinkingSucceeded ()
 
void signalListAlbumsDone (const QList< QPair< QString, QString > > &list)
 
void signalListAlbumsFailed (const QString &msg)
 
void signalSetUserName (const QString &msg)
 
void signalTransferCancel ()
 

Public Member Functions

bool addPhoto (const QString &imgPath, const QString &uploadFolder, bool rescale, int maxDim, int imageQuality)
 
bool authenticated ()
 
void cancel ()
 
void createFolder (QString &path)
 
void getUserName ()
 
void link ()
 
void listFolders (const QString &folder=QString())
 
 ODTalker (QWidget *const parent)
 
void readSettings ()
 
void setAccessToken (const QString &token)
 
void unLink ()
 
void writeSettings ()
 
 ~ODTalker () override
 

Constructor & Destructor Documentation

◆ ODTalker()

DigikamGenericOneDrivePlugin::ODTalker::ODTalker ( QWidget *const  parent)
explicit

◆ ~ODTalker()

DigikamGenericOneDrivePlugin::ODTalker::~ODTalker ( )
override

Member Function Documentation

◆ addPhoto()

bool DigikamGenericOneDrivePlugin::ODTalker::addPhoto ( const QString &  imgPath,
const QString &  uploadFolder,
bool  rescale,
int  maxDim,
int  imageQuality 
)

◆ authenticated()

bool DigikamGenericOneDrivePlugin::ODTalker::authenticated ( )

◆ cancel()

void DigikamGenericOneDrivePlugin::ODTalker::cancel ( )

References signalBusy().

◆ createFolder()

void DigikamGenericOneDrivePlugin::ODTalker::createFolder ( QString &  path)

References signalBusy().

◆ getUserName()

void DigikamGenericOneDrivePlugin::ODTalker::getUserName ( )

References signalBusy().

◆ link()

void DigikamGenericOneDrivePlugin::ODTalker::link ( )

References signalBusy().

Referenced by readSettings().

◆ listFolders()

void DigikamGenericOneDrivePlugin::ODTalker::listFolders ( const QString &  folder = QString())

Get list of folders by parsing json sent by onedrive

References signalBusy().

◆ oneDriveLinkingFailed

void DigikamGenericOneDrivePlugin::ODTalker::oneDriveLinkingFailed ( )
signal

Referenced by ODTalker().

◆ oneDriveLinkingSucceeded

void DigikamGenericOneDrivePlugin::ODTalker::oneDriveLinkingSucceeded ( )
signal

Referenced by ODTalker(), readSettings(), and unLink().

◆ readSettings()

void DigikamGenericOneDrivePlugin::ODTalker::readSettings ( )

◆ setAccessToken()

void DigikamGenericOneDrivePlugin::ODTalker::setAccessToken ( const QString &  token)

◆ signalAddPhotoFailed

void DigikamGenericOneDrivePlugin::ODTalker::signalAddPhotoFailed ( const QString &  msg)
signal

◆ signalAddPhotoSucceeded

void DigikamGenericOneDrivePlugin::ODTalker::signalAddPhotoSucceeded ( )
signal

◆ signalBusy

void DigikamGenericOneDrivePlugin::ODTalker::signalBusy ( bool  val)
signal

◆ signalCreateFolderFailed

void DigikamGenericOneDrivePlugin::ODTalker::signalCreateFolderFailed ( const QString &  msg)
signal

◆ signalCreateFolderSucceeded

void DigikamGenericOneDrivePlugin::ODTalker::signalCreateFolderSucceeded ( )
signal

◆ signalLinkingFailed

void DigikamGenericOneDrivePlugin::ODTalker::signalLinkingFailed ( )
signal

◆ signalLinkingSucceeded

void DigikamGenericOneDrivePlugin::ODTalker::signalLinkingSucceeded ( )
signal

◆ signalListAlbumsDone

void DigikamGenericOneDrivePlugin::ODTalker::signalListAlbumsDone ( const QList< QPair< QString, QString > > &  list)
signal

◆ signalListAlbumsFailed

void DigikamGenericOneDrivePlugin::ODTalker::signalListAlbumsFailed ( const QString &  msg)
signal

◆ signalSetUserName

void DigikamGenericOneDrivePlugin::ODTalker::signalSetUserName ( const QString &  msg)
signal

◆ signalTransferCancel

void DigikamGenericOneDrivePlugin::ODTalker::signalTransferCancel ( )
signal

◆ unLink()

void DigikamGenericOneDrivePlugin::ODTalker::unLink ( )

◆ writeSettings()

void DigikamGenericOneDrivePlugin::ODTalker::writeSettings ( )

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