◆ State
Enumerator |
---|
DEFAULT | |
GETUSER | |
LISTALBUMS | |
CREATEALBUM | |
ADDPHOTO | |
◆ WSTalker()
WSTalker::WSTalker |
( |
QWidget *const |
parent | ) |
|
|
explicit |
References m_netMngr, m_settings, m_store, m_userName, m_wizard, DigikamGenericUnifiedPlugin::WSWizard::oauthSettings(), DigikamGenericUnifiedPlugin::WSWizard::oauthSettingsStore(), DigikamGenericUnifiedPlugin::WSWizard::settings(), signalBusy(), slotFinished(), and Digikam::WSSettings::userName.
◆ ~WSTalker()
◆ addPhoto()
void WSTalker::addPhoto |
( |
const QString & |
imgPath, |
|
|
const QString & |
albumID, |
|
|
const QString & |
caption |
|
) |
| |
|
virtual |
◆ authenticate()
void WSTalker::authenticate |
( |
| ) |
|
|
virtual |
◆ authenticationDone()
void WSTalker::authenticationDone |
( |
int |
errCode, |
|
|
const QString & |
errMsg |
|
) |
| |
|
protectedvirtual |
◆ cancel()
void WSTalker::cancel |
( |
| ) |
|
◆ createNewAlbum()
void WSTalker::createNewAlbum |
( |
| ) |
|
|
virtual |
◆ getLoggedInUser()
void WSTalker::getLoggedInUser |
( |
| ) |
|
|
virtual |
◆ getUserAccountInfo()
QMap< QString, QVariant > WSTalker::getUserAccountInfo |
( |
const QString & |
userName | ) |
|
|
protected |
◆ getUserID()
QString WSTalker::getUserID |
( |
const QString & |
userName | ) |
|
◆ link()
◆ linked()
bool WSTalker::linked |
( |
| ) |
const |
|
virtual |
◆ listAlbums()
void WSTalker::listAlbums |
( |
long long |
userID = 0 | ) |
|
|
virtual |
◆ loadUserAccount()
bool WSTalker::loadUserAccount |
( |
const QString & |
userName | ) |
|
|
protected |
◆ parseResponseAddPhoto()
void WSTalker::parseResponseAddPhoto |
( |
const QByteArray & |
data | ) |
|
|
protectedvirtual |
◆ parseResponseCreateAlbum()
void WSTalker::parseResponseCreateAlbum |
( |
const QByteArray & |
data | ) |
|
|
protectedvirtual |
◆ parseResponseGetLoggedInUser()
void WSTalker::parseResponseGetLoggedInUser |
( |
const QByteArray & |
data | ) |
|
|
protectedvirtual |
◆ parseResponseListAlbums()
void WSTalker::parseResponseListAlbums |
( |
const QByteArray & |
data | ) |
|
|
protectedvirtual |
◆ reauthenticate()
void WSTalker::reauthenticate |
( |
| ) |
|
◆ removeAllAccounts()
void WSTalker::removeAllAccounts |
( |
| ) |
|
|
protected |
◆ removeUserAccount()
void WSTalker::removeUserAccount |
( |
const QString & |
userName | ) |
|
|
protected |
◆ resetTalker()
void WSTalker::resetTalker |
( |
const QString & |
expire, |
|
|
const QString & |
accessToken, |
|
|
const QString & |
refreshToken |
|
) |
| |
|
protectedvirtual |
◆ saveUserAccount()
void WSTalker::saveUserAccount |
( |
const QString & |
userName, |
|
|
const QString & |
userID, |
|
|
long long int |
expire, |
|
|
const QString & |
accessToken, |
|
|
const QString & |
refreshToken = QString() |
|
) |
| |
|
protected |
◆ signalAddPhotoDone
void DigikamGenericUnifiedPlugin::WSTalker::signalAddPhotoDone |
( |
int |
errCode, |
|
|
const QString & |
errMsg |
|
) |
| |
|
signal |
◆ signalAuthenticationComplete
void DigikamGenericUnifiedPlugin::WSTalker::signalAuthenticationComplete |
( |
bool |
| ) |
|
|
signal |
◆ signalBusy
void DigikamGenericUnifiedPlugin::WSTalker::signalBusy |
( |
bool |
val | ) |
|
|
signal |
◆ signalCloseBrowser
void DigikamGenericUnifiedPlugin::WSTalker::signalCloseBrowser |
( |
| ) |
|
|
signal |
◆ signalCreateAlbumDone
void DigikamGenericUnifiedPlugin::WSTalker::signalCreateAlbumDone |
( |
int |
errCode, |
|
|
const QString & |
errMsg, |
|
|
const QString & |
newAlbumId |
|
) |
| |
|
signal |
◆ signalListAlbumsDone
void DigikamGenericUnifiedPlugin::WSTalker::signalListAlbumsDone |
( |
int |
errCode, |
|
|
const QString & |
errMsg, |
|
|
const QList< WSAlbum > & |
albumsList |
|
) |
| |
|
signal |
◆ signalOpenBrowser
void DigikamGenericUnifiedPlugin::WSTalker::signalOpenBrowser |
( |
const QUrl & |
url | ) |
|
|
signal |
◆ slotCloseBrowser
void WSTalker::slotCloseBrowser |
( |
| ) |
|
|
protectedslot |
◆ slotFinished
void WSTalker::slotFinished |
( |
QNetworkReply * |
reply | ) |
|
|
protectedslot |
References ADDPHOTO, authenticationDone(), CREATEALBUM, DEFAULT, GETUSER, LISTALBUMS, m_reply, m_state, parseResponseAddPhoto(), parseResponseCreateAlbum(), parseResponseGetLoggedInUser(), and parseResponseListAlbums().
Referenced by WSTalker().
◆ slotLinkingFailed
void WSTalker::slotLinkingFailed |
( |
| ) |
|
|
protectedvirtualslot |
◆ slotLinkingSucceeded
void WSTalker::slotLinkingSucceeded |
( |
| ) |
|
|
protectedvirtualslot |
◆ slotOpenBrowser
void WSTalker::slotOpenBrowser |
( |
const QUrl & |
url | ) |
|
|
protectedslot |
◆ slotResponseTokenReceived
void WSTalker::slotResponseTokenReceived |
( |
const QMap< QString, QString > & |
rep | ) |
|
|
protectedvirtualslot |
◆ sortAlbumsList()
void WSTalker::sortAlbumsList |
( |
QList< WSAlbum > & |
albumsList | ) |
|
|
protectedvirtual |
◆ unlink()
void WSTalker::unlink |
( |
| ) |
|
|
virtual |
◆ m_netMngr
QNetworkAccessManager* DigikamGenericUnifiedPlugin::WSTalker::m_netMngr |
|
protected |
◆ m_reply
QNetworkReply* DigikamGenericUnifiedPlugin::WSTalker::m_reply |
|
protected |
◆ m_settings
QSettings* DigikamGenericUnifiedPlugin::WSTalker::m_settings |
|
protected |
◆ m_state
State DigikamGenericUnifiedPlugin::WSTalker::m_state |
|
protected |
◆ m_store
O0SettingsStore* DigikamGenericUnifiedPlugin::WSTalker::m_store |
|
protected |
◆ m_userName
QString DigikamGenericUnifiedPlugin::WSTalker::m_userName |
|
protected |
◆ m_wizard
WSWizard* DigikamGenericUnifiedPlugin::WSTalker::m_wizard |
|
protected |
The documentation for this class was generated from the following files:
- core/dplugins/generic/webservices/unified/manager/wstalker.h
- core/dplugins/generic/webservices/unified/manager/wstalker.cpp