digiKam
DigikamGenericTwitterPlugin::TwMPForm Class Reference

Public Member Functions

bool addFile (const QString &imgPath, bool fragmented=false)
 
bool addPair (const QByteArray &pair)
 
QByteArray border ()
 
QString contentType () const
 
QByteArray createPair (const QByteArray &name, const QByteArray &value)
 
QByteArray fileHeader (const QString &imgPath)
 
void finish ()
 
QByteArray formData () const
 
QByteArray getChunk (int index) const
 
int numberOfChunks () const
 
void reset ()
 
 TwMPForm ()
 
 ~TwMPForm ()
 

Constructor & Destructor Documentation

◆ TwMPForm()

DigikamGenericTwitterPlugin::TwMPForm::TwMPForm ( )
explicit

References reset().

◆ ~TwMPForm()

DigikamGenericTwitterPlugin::TwMPForm::~TwMPForm ( )

Member Function Documentation

◆ addFile()

bool DigikamGenericTwitterPlugin::TwMPForm::addFile ( const QString &  imgPath,
bool  fragmented = false 
)

◆ addPair()

◆ border()

QByteArray DigikamGenericTwitterPlugin::TwMPForm::border ( )

◆ contentType()

◆ createPair()

QByteArray DigikamGenericTwitterPlugin::TwMPForm::createPair ( const QByteArray &  name,
const QByteArray &  value 
)

◆ fileHeader()

QByteArray DigikamGenericTwitterPlugin::TwMPForm::fileHeader ( const QString &  imgPath)

Referenced by addFile().

◆ finish()

◆ formData()

◆ getChunk()

QByteArray DigikamGenericTwitterPlugin::TwMPForm::getChunk ( int  index) const

◆ numberOfChunks()

int DigikamGenericTwitterPlugin::TwMPForm::numberOfChunks ( ) const

◆ reset()

void DigikamGenericTwitterPlugin::TwMPForm::reset ( )

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