digiKam
DigikamGenericDropBoxPlugin::DBTalker Class Reference
+ Inheritance diagram for DigikamGenericDropBoxPlugin::DBTalker:

Signals

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)
 

Public Member Functions

bool addPhoto (const QString &imgPath, const QString &uploadFolder, bool original, bool rescale, int maxDim, int imageQuality)
 
bool authenticated ()
 
void cancel ()
 
void createFolder (const QString &path)
 
 DBTalker (QWidget *const parent)
 
void getUserName ()
 
void link ()
 
void listFolders (const QString &cursor=QString())
 
void reauthenticate ()
 
void unLink ()
 
 ~DBTalker () override
 

Constructor & Destructor Documentation

◆ DBTalker()

DigikamGenericDropBoxPlugin::DBTalker::DBTalker ( QWidget *const  parent)
explicit

◆ ~DBTalker()

DigikamGenericDropBoxPlugin::DBTalker::~DBTalker ( )
override

Member Function Documentation

◆ addPhoto()

bool DigikamGenericDropBoxPlugin::DBTalker::addPhoto ( const QString &  imgPath,
const QString &  uploadFolder,
bool  original,
bool  rescale,
int  maxDim,
int  imageQuality 
)

◆ authenticated()

bool DigikamGenericDropBoxPlugin::DBTalker::authenticated ( )

Referenced by reauthenticate().

◆ cancel()

void DigikamGenericDropBoxPlugin::DBTalker::cancel ( )

References signalBusy().

◆ createFolder()

void DigikamGenericDropBoxPlugin::DBTalker::createFolder ( const QString &  path)

Creates folder at specified path

References signalBusy().

◆ getUserName()

void DigikamGenericDropBoxPlugin::DBTalker::getUserName ( )

Get username of dropbox user

References signalBusy().

◆ link()

void DigikamGenericDropBoxPlugin::DBTalker::link ( )

References signalBusy().

◆ listFolders()

void DigikamGenericDropBoxPlugin::DBTalker::listFolders ( const QString &  cursor = QString())

Get list of folders by parsing json sent by dropbox

References signalBusy().

◆ reauthenticate()

void DigikamGenericDropBoxPlugin::DBTalker::reauthenticate ( )

References authenticated().

◆ signalAddPhotoFailed

void DigikamGenericDropBoxPlugin::DBTalker::signalAddPhotoFailed ( const QString &  msg)
signal

◆ signalAddPhotoSucceeded

void DigikamGenericDropBoxPlugin::DBTalker::signalAddPhotoSucceeded ( )
signal

◆ signalBusy

void DigikamGenericDropBoxPlugin::DBTalker::signalBusy ( bool  val)
signal

◆ signalCreateFolderFailed

void DigikamGenericDropBoxPlugin::DBTalker::signalCreateFolderFailed ( const QString &  msg)
signal

◆ signalCreateFolderSucceeded

void DigikamGenericDropBoxPlugin::DBTalker::signalCreateFolderSucceeded ( )
signal

◆ signalLinkingFailed

void DigikamGenericDropBoxPlugin::DBTalker::signalLinkingFailed ( )
signal

◆ signalLinkingSucceeded

void DigikamGenericDropBoxPlugin::DBTalker::signalLinkingSucceeded ( )
signal

◆ signalListAlbumsDone

void DigikamGenericDropBoxPlugin::DBTalker::signalListAlbumsDone ( const QList< QPair< QString, QString > > &  list)
signal

◆ signalListAlbumsFailed

void DigikamGenericDropBoxPlugin::DBTalker::signalListAlbumsFailed ( const QString &  msg)
signal

◆ signalSetUserName

void DigikamGenericDropBoxPlugin::DBTalker::signalSetUserName ( const QString &  msg)
signal

◆ unLink()

void DigikamGenericDropBoxPlugin::DBTalker::unLink ( )

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