1 #ifndef _KviWebPackageManagementDialog_h_
2 #define _KviWebPackageManagementDialog_h_
30 #ifdef COMPILE_WEBKIT_SUPPORT
47 class KVIRC_API KviWebPackageManagementDialog :
public QWidget
55 KviWebPackageManagementDialog(QWidget * pParent =
NULL);
61 virtual ~KviWebPackageManagementDialog();
64 QToolBar * m_pToolBar;
65 QVBoxLayout * m_pLayout;
66 QWebView * m_pWebView;
68 QProgressBar * m_pProgressBar;
69 QString m_szPackagePageUrl;
70 QString m_szLocalTemporaryPath;
73 void setPackagePageUrl(
const QString &
szUrl);
74 virtual void showEvent(QShowEvent *
e);
76 virtual bool packageIsInstalled(
const QString & szId,
const QString & szVersion) = 0;
77 virtual bool installPackage(
const QString & szPath, QString & szError) = 0;
81 void slotLoadFinished(
bool ok);
82 void slotLoadProgress(
int iProgress);
83 void slotDataTransferProgress(qint64 iDone, qint64 iTotal);
84 void slotCommandFinished();
85 void slotLinkClicked(
const QUrl & url);
89 #endif //COMPILE_WEBKIT_SUPPORT
#define KVIRC_API
Definition: kvi_settings.h:128
char * NULL
Definition: KviIrcNumericCodes.h:391
#define e
Definition: detector.cpp:69
QString szUrl
Definition: libkvisetup.cpp:46
This file contains compile time settings.