KVIrc 5.2.0
Developer APIs
Public Member Functions | Protected Slots | Protected Member Functions | Private Attributes | List of all members
KviWebPackageManagementDialog Class Referenceabstract

The KviWebPackageManagementDialog class. More...

#include <KviWebPackageManagementDialog.h>

+ Inheritance diagram for KviWebPackageManagementDialog:

Public Member Functions

 KviWebPackageManagementDialog (QWidget *pParent=nullptr)
 
 ~KviWebPackageManagementDialog ()
 

Protected Slots

void contextMenuRequested (const QPoint &pos)
 
void downloadItem ()
 
void enableDisableButtons ()
 
void showItemPreview ()
 
void slotDataTransferProgress (qint64 iDone, qint64 iTotal)
 
void slotDownloadFinished ()
 

Protected Member Functions

virtual bool installPackage (const QString &szPath, QString &szError)=0
 
virtual bool packageIsInstalled (const QString &szId, const QString &szVersion)=0
 
void setPackagePageUrl (const QString &szUrl)
 
void showEvent (QShowEvent *e) override
 

Private Attributes

bool m_bBusy
 
QMenu * m_pContextPopup
 
QToolButton * m_pDeleteButton
 
KviTalIconAndRichTextItemDelegatem_pItemDelegate
 
KviTalListWidgetm_pListWidget
 
QToolButton * m_pPreviewButton
 
QProgressBar * m_pProgressBar
 
QToolBar * m_pToolBar
 
QString m_szLocalTemporaryPath
 
QString m_szPackagePageUrl
 

Detailed Description

The KviWebPackageManagementDialog class.

This class...

Constructor & Destructor Documentation

◆ KviWebPackageManagementDialog()

KviWebPackageManagementDialog::KviWebPackageManagementDialog ( QWidget *  pParent = nullptr)

◆ ~KviWebPackageManagementDialog()

KviWebPackageManagementDialog::~KviWebPackageManagementDialog ( )

Destroys the instance of KviWebPackageManagementDialog and frees all the relevant resources

References m_pItemDelegate, and m_pListWidget.

Member Function Documentation

◆ contextMenuRequested

void KviWebPackageManagementDialog::contextMenuRequested ( const QPoint &  pos)
protectedslot

◆ downloadItem

void KviWebPackageManagementDialog::downloadItem ( )
protectedslot

◆ enableDisableButtons

void KviWebPackageManagementDialog::enableDisableButtons ( )
protectedslot

◆ installPackage()

virtual bool KviWebPackageManagementDialog::installPackage ( const QString &  szPath,
QString &  szError 
)
protectedpure virtual

◆ packageIsInstalled()

virtual bool KviWebPackageManagementDialog::packageIsInstalled ( const QString &  szId,
const QString &  szVersion 
)
protectedpure virtual

◆ setPackagePageUrl()

void KviWebPackageManagementDialog::setPackagePageUrl ( const QString &  szUrl)
protected

◆ showEvent()

void KviWebPackageManagementDialog::showEvent ( QShowEvent *  e)
overrideprotected

References g_pMainWindow, and m_pProgressBar.

◆ showItemPreview

void KviWebPackageManagementDialog::showItemPreview ( )
protectedslot

◆ slotDataTransferProgress

void KviWebPackageManagementDialog::slotDataTransferProgress ( qint64  iDone,
qint64  iTotal 
)
protectedslot

References __tr2qs, and m_pProgressBar.

Referenced by downloadItem(), and setPackagePageUrl().

◆ slotDownloadFinished

void KviWebPackageManagementDialog::slotDownloadFinished ( )
protectedslot

Member Data Documentation

◆ m_bBusy

bool KviWebPackageManagementDialog::m_bBusy
private

◆ m_pContextPopup

QMenu* KviWebPackageManagementDialog::m_pContextPopup
private

◆ m_pDeleteButton

QToolButton* KviWebPackageManagementDialog::m_pDeleteButton
private

◆ m_pItemDelegate

KviTalIconAndRichTextItemDelegate* KviWebPackageManagementDialog::m_pItemDelegate
private

◆ m_pListWidget

KviTalListWidget* KviWebPackageManagementDialog::m_pListWidget
private

◆ m_pPreviewButton

QToolButton* KviWebPackageManagementDialog::m_pPreviewButton
private

◆ m_pProgressBar

QProgressBar* KviWebPackageManagementDialog::m_pProgressBar
private

◆ m_pToolBar

QToolBar* KviWebPackageManagementDialog::m_pToolBar
private

◆ m_szLocalTemporaryPath

QString KviWebPackageManagementDialog::m_szLocalTemporaryPath
private

Referenced by slotDownloadFinished().

◆ m_szPackagePageUrl

QString KviWebPackageManagementDialog::m_szPackagePageUrl
private

Referenced by downloadItem(), and setPackagePageUrl().


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