digiKam
DigikamGenericFlickrPlugin::FlickrTalker Class Reference
+ Inheritance diagram for DigikamGenericFlickrPlugin::FlickrTalker:

Public Types

enum  State {
  FE_LOGOUT = -1 , FE_LOGIN = 0 , FE_LISTPHOTOSETS , FE_LISTPHOTOS ,
  FE_GETPHOTOPROPERTY , FE_ADDPHOTO , FE_CREATEPHOTOSET , FE_ADDPHOTOTOPHOTOSET ,
  FE_GETMAXSIZE , FE_SETGEO
}
 

Signals

void signalAddPhotoFailed (const QString &msg)
 
void signalAddPhotoSetSucceeded ()
 
void signalAddPhotoSucceeded (const QString &)
 
void signalBusy (bool val)
 
void signalError (const QString &msg)
 
void signalLinkingSucceeded ()
 
void signalListPhotoSetsFailed (const QString &msg)
 
void signalListPhotoSetsFailed (QString &msg)
 
void signalListPhotoSetsSucceeded ()
 

Public Member Functions

bool addPhoto (const QString &photoPath, const FPhotoInfo &info, bool original=false, bool rescale=false, int maxDim=600, int imageQuality=85)
 
void addPhotoToPhotoSet (const QString &photoId, const QString &photoSetId)
 
void cancel ()
 
void createPhotoSet (const QString &name, const QString &title, const QString &desc, const QString &primaryPhotoId)
 
 FlickrTalker (QWidget *const parent, const QString &serviceName, DInfoInterface *const iface)
 
QString getMaxAllowedFileSize ()
 
void getPhotoProperty (const QString &method, const QStringList &argList)
 
QString getUserId () const
 
QString getUserName () const
 
void link (const QString &userName)
 
void listPhotos (const QString &albumName)
 
void listPhotoSets ()
 
void maxAllowedFileSize ()
 
void removeUserName (const QString &userName)
 
void setGeoLocation (const QString &photoId, const QString &lat, const QString &lon)
 
void unLink ()
 
 ~FlickrTalker () override
 

Public Attributes

QProgressDialog * m_authProgressDlg
 
QList< FPhotoSet > * m_photoSetsList
 
FPhotoSet m_selectedPhotoSet
 

Member Enumeration Documentation

◆ State

Enumerator
FE_LOGOUT 
FE_LOGIN 
FE_LISTPHOTOSETS 
FE_LISTPHOTOS 
FE_GETPHOTOPROPERTY 
FE_ADDPHOTO 
FE_CREATEPHOTOSET 
FE_ADDPHOTOTOPHOTOSET 
FE_GETMAXSIZE 
FE_SETGEO 

Constructor & Destructor Documentation

◆ FlickrTalker()

DigikamGenericFlickrPlugin::FlickrTalker::FlickrTalker ( QWidget *const  parent,
const QString &  serviceName,
DInfoInterface *const  iface 
)
explicit

◆ ~FlickrTalker()

DigikamGenericFlickrPlugin::FlickrTalker::~FlickrTalker ( )
override

References m_photoSetsList.

Member Function Documentation

◆ addPhoto()

◆ addPhotoToPhotoSet()

void DigikamGenericFlickrPlugin::FlickrTalker::addPhotoToPhotoSet ( const QString &  photoId,
const QString &  photoSetId 
)

◆ cancel()

void DigikamGenericFlickrPlugin::FlickrTalker::cancel ( )

References m_authProgressDlg.

◆ createPhotoSet()

void DigikamGenericFlickrPlugin::FlickrTalker::createPhotoSet ( const QString &  name,
const QString &  title,
const QString &  desc,
const QString &  primaryPhotoId 
)

References FE_CREATEPHOTOSET, and signalBusy().

Referenced by addPhotoToPhotoSet().

◆ getMaxAllowedFileSize()

QString DigikamGenericFlickrPlugin::FlickrTalker::getMaxAllowedFileSize ( )

Referenced by addPhoto().

◆ getPhotoProperty()

void DigikamGenericFlickrPlugin::FlickrTalker::getPhotoProperty ( const QString &  method,
const QStringList &  argList 
)

◆ getUserId()

QString DigikamGenericFlickrPlugin::FlickrTalker::getUserId ( ) const

◆ getUserName()

QString DigikamGenericFlickrPlugin::FlickrTalker::getUserName ( ) const

◆ link()

void DigikamGenericFlickrPlugin::FlickrTalker::link ( const QString &  userName)

References signalBusy().

◆ listPhotos()

void DigikamGenericFlickrPlugin::FlickrTalker::listPhotos ( const QString &  albumName)

◆ listPhotoSets()

void DigikamGenericFlickrPlugin::FlickrTalker::listPhotoSets ( )

References FE_LISTPHOTOSETS, and signalBusy().

◆ maxAllowedFileSize()

void DigikamGenericFlickrPlugin::FlickrTalker::maxAllowedFileSize ( )

◆ removeUserName()

void DigikamGenericFlickrPlugin::FlickrTalker::removeUserName ( const QString &  userName)

◆ setGeoLocation()

void DigikamGenericFlickrPlugin::FlickrTalker::setGeoLocation ( const QString &  photoId,
const QString &  lat,
const QString &  lon 
)

References FE_SETGEO, and signalBusy().

◆ signalAddPhotoFailed

void DigikamGenericFlickrPlugin::FlickrTalker::signalAddPhotoFailed ( const QString &  msg)
signal

Referenced by addPhoto().

◆ signalAddPhotoSetSucceeded

void DigikamGenericFlickrPlugin::FlickrTalker::signalAddPhotoSetSucceeded ( )
signal

◆ signalAddPhotoSucceeded

void DigikamGenericFlickrPlugin::FlickrTalker::signalAddPhotoSucceeded ( const QString &  )
signal

◆ signalBusy

void DigikamGenericFlickrPlugin::FlickrTalker::signalBusy ( bool  val)
signal

◆ signalError

void DigikamGenericFlickrPlugin::FlickrTalker::signalError ( const QString &  msg)
signal

◆ signalLinkingSucceeded

void DigikamGenericFlickrPlugin::FlickrTalker::signalLinkingSucceeded ( )
signal

◆ signalListPhotoSetsFailed [1/2]

void DigikamGenericFlickrPlugin::FlickrTalker::signalListPhotoSetsFailed ( const QString &  msg)
signal

◆ signalListPhotoSetsFailed [2/2]

void DigikamGenericFlickrPlugin::FlickrTalker::signalListPhotoSetsFailed ( QString &  msg)
signal

◆ signalListPhotoSetsSucceeded

void DigikamGenericFlickrPlugin::FlickrTalker::signalListPhotoSetsSucceeded ( )
signal

◆ unLink()

void DigikamGenericFlickrPlugin::FlickrTalker::unLink ( )

Member Data Documentation

◆ m_authProgressDlg

QProgressDialog* DigikamGenericFlickrPlugin::FlickrTalker::m_authProgressDlg

◆ m_photoSetsList

QList<FPhotoSet>* DigikamGenericFlickrPlugin::FlickrTalker::m_photoSetsList

Referenced by FlickrTalker(), and ~FlickrTalker().

◆ m_selectedPhotoSet

FPhotoSet DigikamGenericFlickrPlugin::FlickrTalker::m_selectedPhotoSet

Referenced by addPhotoToPhotoSet(), and FlickrTalker().


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