digiKam
DigikamGenericPinterestPlugin::PTalker Class Reference
+ Inheritance diagram for DigikamGenericPinterestPlugin::PTalker:

Signals

void pinterestLinkingFailed ()
 
void pinterestLinkingSucceeded ()
 
void signalAddPinFailed (const QString &msg)
 
void signalAddPinSucceeded ()
 
void signalBusy (bool val)
 
void signalCreateBoardFailed (const QString &msg)
 
void signalCreateBoardSucceeded ()
 
void signalLinkingFailed ()
 
void signalLinkingSucceeded ()
 
void signalListBoardsDone (const QList< QPair< QString, QString > > &list)
 
void signalListBoardsFailed (const QString &msg)
 
void signalSetUserName (const QString &msg)
 

Public Member Functions

bool addPin (const QString &imgPath, const QString &uploadFolder, bool rescale, int maxDim, int imageQuality)
 
bool authenticated ()
 
void cancel ()
 
void createBoard (QString &boardName)
 
void getToken (const QString &code)
 
void getUserName ()
 
void link ()
 
void listBoards (const QString &path=QString())
 
QMap< QString, QString > ParseUrlParameters (const QString &url)
 
 PTalker (QWidget *const parent)
 
void readSettings ()
 
void setAccessToken (const QString &token)
 
void unLink ()
 
void writeSettings ()
 
 ~PTalker () override
 

Constructor & Destructor Documentation

◆ PTalker()

DigikamGenericPinterestPlugin::PTalker::PTalker ( QWidget *const  parent)
explicit

◆ ~PTalker()

DigikamGenericPinterestPlugin::PTalker::~PTalker ( )
override

Member Function Documentation

◆ addPin()

bool DigikamGenericPinterestPlugin::PTalker::addPin ( const QString &  imgPath,
const QString &  uploadFolder,
bool  rescale,
int  maxDim,
int  imageQuality 
)

References signalBusy().

◆ authenticated()

bool DigikamGenericPinterestPlugin::PTalker::authenticated ( )

◆ cancel()

void DigikamGenericPinterestPlugin::PTalker::cancel ( )

References signalBusy().

◆ createBoard()

void DigikamGenericPinterestPlugin::PTalker::createBoard ( QString &  boardName)

References signalBusy().

◆ getToken()

void DigikamGenericPinterestPlugin::PTalker::getToken ( const QString &  code)

◆ getUserName()

void DigikamGenericPinterestPlugin::PTalker::getUserName ( )

References signalBusy().

◆ link()

void DigikamGenericPinterestPlugin::PTalker::link ( )

References signalBusy().

Referenced by readSettings().

◆ listBoards()

void DigikamGenericPinterestPlugin::PTalker::listBoards ( const QString &  path = QString())

Get list of boards by parsing json sent by pinterest

References signalBusy().

◆ ParseUrlParameters()

QMap< QString, QString > DigikamGenericPinterestPlugin::PTalker::ParseUrlParameters ( const QString &  url)

◆ pinterestLinkingFailed

void DigikamGenericPinterestPlugin::PTalker::pinterestLinkingFailed ( )
signal

Referenced by PTalker().

◆ pinterestLinkingSucceeded

void DigikamGenericPinterestPlugin::PTalker::pinterestLinkingSucceeded ( )
signal

Referenced by PTalker(), readSettings(), and unLink().

◆ readSettings()

void DigikamGenericPinterestPlugin::PTalker::readSettings ( )

◆ setAccessToken()

void DigikamGenericPinterestPlugin::PTalker::setAccessToken ( const QString &  token)

◆ signalAddPinFailed

void DigikamGenericPinterestPlugin::PTalker::signalAddPinFailed ( const QString &  msg)
signal

◆ signalAddPinSucceeded

void DigikamGenericPinterestPlugin::PTalker::signalAddPinSucceeded ( )
signal

◆ signalBusy

void DigikamGenericPinterestPlugin::PTalker::signalBusy ( bool  val)
signal

◆ signalCreateBoardFailed

void DigikamGenericPinterestPlugin::PTalker::signalCreateBoardFailed ( const QString &  msg)
signal

◆ signalCreateBoardSucceeded

void DigikamGenericPinterestPlugin::PTalker::signalCreateBoardSucceeded ( )
signal

◆ signalLinkingFailed

void DigikamGenericPinterestPlugin::PTalker::signalLinkingFailed ( )
signal

◆ signalLinkingSucceeded

void DigikamGenericPinterestPlugin::PTalker::signalLinkingSucceeded ( )
signal

◆ signalListBoardsDone

void DigikamGenericPinterestPlugin::PTalker::signalListBoardsDone ( const QList< QPair< QString, QString > > &  list)
signal

◆ signalListBoardsFailed

void DigikamGenericPinterestPlugin::PTalker::signalListBoardsFailed ( const QString &  msg)
signal

◆ signalSetUserName

void DigikamGenericPinterestPlugin::PTalker::signalSetUserName ( const QString &  msg)
signal

◆ unLink()

void DigikamGenericPinterestPlugin::PTalker::unLink ( )

◆ writeSettings()

void DigikamGenericPinterestPlugin::PTalker::writeSettings ( )

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