digiKam
DigikamGenericUnifiedPlugin::WSAuthentication Class Reference
+ Inheritance diagram for DigikamGenericUnifiedPlugin::WSAuthentication:

Public Slots

void slotAddPhotoDone (int errCode, const QString &errMsg)
 
void slotCancel ()
 
void slotListAlbumsDone (int errCode, const QString &errMsg, const QList< WSAlbum > &albumsList)
 
void slotListAlbumsRequest ()
 
void slotNewAlbumRequest ()
 

Signals

void signalAuthenticationComplete (bool)
 
void signalCloseBrowser ()
 
void signalCreateAlbumDone (int errCode, const QString &errMsg, const QString &newAlbumId)
 
void signalDone ()
 
void signalListAlbumsDone (const QMap< QString, AlbumSimplified > &, const QStringList &, const QString &)
 
void signalMessage (const QString &, bool)
 
void signalOpenBrowser (const QUrl &)
 
void signalProgress (int)
 
void signalResponseTokenReceived (const QMap< QString, QString > &)
 

Public Member Functions

void authenticate ()
 
bool authenticated () const
 
void cancelTalker ()
 
void createTalker (WSSettings::WebService ws, const QString &serviceName=QString())
 
QString getImageCaption (const QString &fileName)
 
unsigned int numberItemsUpload ()
 
void prepareForUpload ()
 
void reauthenticate ()
 
void startTransfer ()
 
void uploadNextPhoto ()
 
QString webserviceName ()
 
 WSAuthentication (QWidget *const parent, DInfoInterface *const iface=0)
 
 ~WSAuthentication ()
 

Constructor & Destructor Documentation

◆ WSAuthentication()

DigikamGenericUnifiedPlugin::WSAuthentication::WSAuthentication ( QWidget *const  parent,
DInfoInterface *const  iface = 0 
)
explicit

◆ ~WSAuthentication()

DigikamGenericUnifiedPlugin::WSAuthentication::~WSAuthentication ( )

References slotCancel().

Member Function Documentation

◆ authenticate()

void DigikamGenericUnifiedPlugin::WSAuthentication::authenticate ( )

◆ authenticated()

bool DigikamGenericUnifiedPlugin::WSAuthentication::authenticated ( ) const

◆ cancelTalker()

void DigikamGenericUnifiedPlugin::WSAuthentication::cancelTalker ( )

Referenced by slotCancel().

◆ createTalker()

void DigikamGenericUnifiedPlugin::WSAuthentication::createTalker ( WSSettings::WebService  ws,
const QString &  serviceName = QString() 
)

◆ getImageCaption()

QString DigikamGenericUnifiedPlugin::WSAuthentication::getImageCaption ( const QString &  fileName)

◆ numberItemsUpload()

unsigned int DigikamGenericUnifiedPlugin::WSAuthentication::numberItemsUpload ( )

◆ prepareForUpload()

void DigikamGenericUnifiedPlugin::WSAuthentication::prepareForUpload ( )

◆ reauthenticate()

void DigikamGenericUnifiedPlugin::WSAuthentication::reauthenticate ( )

◆ signalAuthenticationComplete

void DigikamGenericUnifiedPlugin::WSAuthentication::signalAuthenticationComplete ( bool  )
signal

Referenced by createTalker().

◆ signalCloseBrowser

void DigikamGenericUnifiedPlugin::WSAuthentication::signalCloseBrowser ( )
signal

Referenced by createTalker().

◆ signalCreateAlbumDone

void DigikamGenericUnifiedPlugin::WSAuthentication::signalCreateAlbumDone ( int  errCode,
const QString &  errMsg,
const QString &  newAlbumId 
)
signal

Referenced by createTalker().

◆ signalDone

void DigikamGenericUnifiedPlugin::WSAuthentication::signalDone ( )
signal

Referenced by uploadNextPhoto().

◆ signalListAlbumsDone

void DigikamGenericUnifiedPlugin::WSAuthentication::signalListAlbumsDone ( const QMap< QString, AlbumSimplified > &  ,
const QStringList &  ,
const QString &   
)
signal

Referenced by createTalker(), and slotListAlbumsDone().

◆ signalMessage

void DigikamGenericUnifiedPlugin::WSAuthentication::signalMessage ( const QString &  ,
bool   
)
signal

◆ signalOpenBrowser

void DigikamGenericUnifiedPlugin::WSAuthentication::signalOpenBrowser ( const QUrl &  )
signal

Referenced by createTalker().

◆ signalProgress

void DigikamGenericUnifiedPlugin::WSAuthentication::signalProgress ( int  )
signal

Referenced by slotAddPhotoDone(), and slotCancel().

◆ signalResponseTokenReceived

void DigikamGenericUnifiedPlugin::WSAuthentication::signalResponseTokenReceived ( const QMap< QString, QString > &  )
signal

Referenced by createTalker().

◆ slotAddPhotoDone

void DigikamGenericUnifiedPlugin::WSAuthentication::slotAddPhotoDone ( int  errCode,
const QString &  errMsg 
)
slot

◆ slotCancel

void DigikamGenericUnifiedPlugin::WSAuthentication::slotCancel ( )
slot

References cancelTalker(), and signalProgress().

Referenced by ~WSAuthentication().

◆ slotListAlbumsDone

void DigikamGenericUnifiedPlugin::WSAuthentication::slotListAlbumsDone ( int  errCode,
const QString &  errMsg,
const QList< WSAlbum > &  albumsList 
)
slot

◆ slotListAlbumsRequest

void DigikamGenericUnifiedPlugin::WSAuthentication::slotListAlbumsRequest ( )
slot

◆ slotNewAlbumRequest

void DigikamGenericUnifiedPlugin::WSAuthentication::slotNewAlbumRequest ( )
slot

◆ startTransfer()

void DigikamGenericUnifiedPlugin::WSAuthentication::startTransfer ( )

References uploadNextPhoto().

◆ uploadNextPhoto()

void DigikamGenericUnifiedPlugin::WSAuthentication::uploadNextPhoto ( )

References signalDone().

Referenced by slotAddPhotoDone(), and startTransfer().

◆ webserviceName()

QString DigikamGenericUnifiedPlugin::WSAuthentication::webserviceName ( )

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