|
enum | State {
STATE_UNAUTHENTICATED = 0x0
, STATE_AUTHENTICATED = 0x80
, STATE_ERROR = 0x40
, STATE_GETSERVICE = STATE_UNAUTHENTICATED | 0x1
,
STATE_GETSERVICE_ERROR = STATE_UNAUTHENTICATED | STATE_ERROR | 0x2
, STATE_GETSERVICE_DONE = STATE_UNAUTHENTICATED | 0x3
, STATE_GETSESSION = STATE_UNAUTHENTICATED | 0x7
, STATE_GETSESSION_ERROR = STATE_UNAUTHENTICATED | STATE_ERROR | 0x8
,
STATE_GETSESSION_DONE = STATE_UNAUTHENTICATED | 0x9
, STATE_GETTOKEN = STATE_UNAUTHENTICATED | 0xa
, STATE_INVALID_CREDENTIALS = STATE_UNAUTHENTICATED | STATE_ERROR | 0xb
, STATE_GETTOKEN_ERROR = STATE_UNAUTHENTICATED | STATE_ERROR | 0xc
,
STATE_GETTOKEN_DONE = STATE_AUTHENTICATED
, STATE_LISTALBUMS = STATE_AUTHENTICATED | 0x1
, STATE_LISTALBUMS_ERROR = STATE_AUTHENTICATED | STATE_ERROR | 0x2
, STATE_LISTALBUMS_DONE = STATE_AUTHENTICATED
,
STATE_LISTPHOTOS = STATE_AUTHENTICATED | 0x4
, STATE_LISTPHOTOS_ERROR = STATE_AUTHENTICATED | STATE_ERROR | 0x5
, STATE_LISTPHOTOS_DONE = STATE_AUTHENTICATED
, STATE_UPDATEPHOTO_FILE = STATE_AUTHENTICATED | 0x7
,
STATE_UPDATEPHOTO_FILE_ERROR = STATE_AUTHENTICATED | STATE_ERROR | 0x8
, STATE_UPDATEPHOTO_INFO = STATE_AUTHENTICATED | 0x9
, STATE_UPDATEPHOTO_INFO_ERROR = STATE_AUTHENTICATED | STATE_ERROR | 0xa
, STATE_UPDATEPHOTO_DONE = STATE_AUTHENTICATED
,
STATE_UPDATEALBUM = STATE_AUTHENTICATED | 0xb
, STATE_UPDATEALBUM_ERROR = STATE_AUTHENTICATED | STATE_ERROR | 0xc
, STATE_UPDATEALBUM_DONE = STATE_AUTHENTICATED
} |
|
|
static const QString | USERPAGE_DEFAULT_URL = QLatin1String("https://fotki.yandex.ru/") |
|
static const QString | USERPAGE_URL = QLatin1String("https://fotki.yandex.ru/users/%1/") |
| API-related public constants. More...
|
|
◆ State
Enumerator |
---|
STATE_UNAUTHENTICATED | |
STATE_AUTHENTICATED | |
STATE_ERROR | |
STATE_GETSERVICE | |
STATE_GETSERVICE_ERROR | |
STATE_GETSERVICE_DONE | |
STATE_GETSESSION | |
STATE_GETSESSION_ERROR | |
STATE_GETSESSION_DONE | |
STATE_GETTOKEN | |
STATE_INVALID_CREDENTIALS | |
STATE_GETTOKEN_ERROR | |
STATE_GETTOKEN_DONE | simple alias
|
STATE_LISTALBUMS | |
STATE_LISTALBUMS_ERROR | |
STATE_LISTALBUMS_DONE | |
STATE_LISTPHOTOS | |
STATE_LISTPHOTOS_ERROR | |
STATE_LISTPHOTOS_DONE | |
STATE_UPDATEPHOTO_FILE | |
STATE_UPDATEPHOTO_FILE_ERROR | |
STATE_UPDATEPHOTO_INFO | |
STATE_UPDATEPHOTO_INFO_ERROR | |
STATE_UPDATEPHOTO_DONE | |
STATE_UPDATEALBUM | |
STATE_UPDATEALBUM_ERROR | |
STATE_UPDATEALBUM_DONE | |
◆ YFTalker()
DigikamGenericYFPlugin::YFTalker::YFTalker |
( |
QObject *const |
parent = nullptr | ) |
|
|
explicit |
◆ ~YFTalker()
DigikamGenericYFPlugin::YFTalker::~YFTalker |
( |
| ) |
|
|
override |
◆ albums()
◆ cancel()
void DigikamGenericYFPlugin::YFTalker::cancel |
( |
| ) |
|
◆ getService()
void DigikamGenericYFPlugin::YFTalker::getService |
( |
| ) |
|
◆ getSession()
void DigikamGenericYFPlugin::YFTalker::getSession |
( |
| ) |
|
◆ getToken()
void DigikamGenericYFPlugin::YFTalker::getToken |
( |
| ) |
|
◆ isAuthenticated()
bool DigikamGenericYFPlugin::YFTalker::isAuthenticated |
( |
| ) |
const |
◆ isErrorState()
bool DigikamGenericYFPlugin::YFTalker::isErrorState |
( |
| ) |
const |
◆ listAlbums()
void DigikamGenericYFPlugin::YFTalker::listAlbums |
( |
| ) |
|
◆ listPhotos()
void DigikamGenericYFPlugin::YFTalker::listPhotos |
( |
const YandexFotkiAlbum & |
album | ) |
|
◆ login()
const QString & DigikamGenericYFPlugin::YFTalker::login |
( |
| ) |
const |
◆ password()
const QString & DigikamGenericYFPlugin::YFTalker::password |
( |
| ) |
const |
◆ photos()
const QList< YFPhoto > & DigikamGenericYFPlugin::YFTalker::photos |
( |
| ) |
const |
◆ reset()
void DigikamGenericYFPlugin::YFTalker::reset |
( |
| ) |
|
◆ sessionId()
const QString & DigikamGenericYFPlugin::YFTalker::sessionId |
( |
| ) |
const |
◆ sessionKey()
const QString & DigikamGenericYFPlugin::YFTalker::sessionKey |
( |
| ) |
const |
◆ setLogin()
void DigikamGenericYFPlugin::YFTalker::setLogin |
( |
const QString & |
login | ) |
|
◆ setPassword()
void DigikamGenericYFPlugin::YFTalker::setPassword |
( |
const QString & |
password | ) |
|
◆ signalError
void DigikamGenericYFPlugin::YFTalker::signalError |
( |
| ) |
|
|
signal |
emits when we are in a bad state
◆ signalGetServiceDone
void DigikamGenericYFPlugin::YFTalker::signalGetServiceDone |
( |
| ) |
|
|
signal |
◆ signalGetSessionDone
void DigikamGenericYFPlugin::YFTalker::signalGetSessionDone |
( |
| ) |
|
|
signal |
◆ signalGetTokenDone
void DigikamGenericYFPlugin::YFTalker::signalGetTokenDone |
( |
| ) |
|
|
signal |
◆ signalListAlbumsDone
◆ signalListPhotosDone
void DigikamGenericYFPlugin::YFTalker::signalListPhotosDone |
( |
const QList< YFPhoto > & |
| ) |
|
|
signal |
◆ signalUpdateAlbumDone
void DigikamGenericYFPlugin::YFTalker::signalUpdateAlbumDone |
( |
| ) |
|
|
signal |
◆ signalUpdatePhotoDone
void DigikamGenericYFPlugin::YFTalker::signalUpdatePhotoDone |
( |
YFPhoto & |
| ) |
|
|
signal |
◆ state()
◆ token()
const QString & DigikamGenericYFPlugin::YFTalker::token |
( |
| ) |
const |
◆ updateAlbum()
◆ updatePhoto()
◆ USERPAGE_DEFAULT_URL
const QString DigikamGenericYFPlugin::YFTalker::USERPAGE_DEFAULT_URL = QLatin1String("https://fotki.yandex.ru/") |
|
static |
◆ USERPAGE_URL
const QString DigikamGenericYFPlugin::YFTalker::USERPAGE_URL = QLatin1String("https://fotki.yandex.ru/users/%1/") |
|
static |
API-related public constants.
The documentation for this class was generated from the following files:
- core/dplugins/generic/webservices/yandexfotki/yftalker.h
- core/dplugins/generic/webservices/yandexfotki/yftalker.cpp