KVIrc 5.2.6
Developer APIs
AvatarDownloadDialog Class Reference

#include <OptionsWidget_identity.h>

+ Inheritance diagram for AvatarDownloadDialog:

Public Member Functions

 AvatarDownloadDialog (QWidget *par, const QString &szUrl)
 
 ~AvatarDownloadDialog ()
 

Protected Slots

void cancelClicked ()
 
void downloadMessage (const QString &szMsg)
 
void downloadTerminated (bool bSuccess)
 
void startDownload ()
 

Protected Member Functions

void closeEvent (QCloseEvent *e) override
 
const QString & errorMessage ()
 
const QString & localFileName ()
 

Protected Attributes

QLabel * m_pOutput
 
KviHttpRequestm_pRequest
 
QString m_szErrorMessage
 
QString m_szLocalFileName
 
QString m_szUrl
 

Friends

class OptionsWidget_identityAvatar
 

Constructor & Destructor Documentation

◆ AvatarDownloadDialog()

AvatarDownloadDialog::AvatarDownloadDialog ( QWidget * par,
const QString & szUrl )

◆ ~AvatarDownloadDialog()

AvatarDownloadDialog::~AvatarDownloadDialog ( )

References m_pRequest.

Member Function Documentation

◆ cancelClicked

void AvatarDownloadDialog::cancelClicked ( )
protectedslot

References __tr2qs_ctx, and m_szErrorMessage.

Referenced by AvatarDownloadDialog().

◆ closeEvent()

void AvatarDownloadDialog::closeEvent ( QCloseEvent * e)
overrideprotected

References __tr2qs_ctx, e, and m_szErrorMessage.

◆ downloadMessage

void AvatarDownloadDialog::downloadMessage ( const QString & szMsg)
protectedslot

References m_pOutput.

Referenced by startDownload().

◆ downloadTerminated

void AvatarDownloadDialog::downloadTerminated ( bool bSuccess)
protectedslot

◆ errorMessage()

const QString & AvatarDownloadDialog::errorMessage ( )
inlineprotected

◆ localFileName()

const QString & AvatarDownloadDialog::localFileName ( )
inlineprotected

◆ startDownload

Friends And Related Symbol Documentation

◆ OptionsWidget_identityAvatar

friend class OptionsWidget_identityAvatar
friend

Member Data Documentation

◆ m_pOutput

QLabel* AvatarDownloadDialog::m_pOutput
protected

◆ m_pRequest

KviHttpRequest* AvatarDownloadDialog::m_pRequest
protected

◆ m_szErrorMessage

QString AvatarDownloadDialog::m_szErrorMessage
protected

◆ m_szLocalFileName

QString AvatarDownloadDialog::m_szLocalFileName
protected

Referenced by localFileName(), and startDownload().

◆ m_szUrl

QString AvatarDownloadDialog::m_szUrl
protected

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