1 #ifndef _KviPackageIOEngine_h_
2 #define _KviPackageIOEngine_h_
41 class QProgressDialog;
44 #define KVI_PACKAGE_INFOFIELD_TYPE_STRING 1
45 #define KVI_PACKAGE_INFOFIELD_TYPE_BINARYBUFFER 2
46 #define KVI_PACKAGE_DATAFIELD_TYPE_FILE 1
47 #define KVI_PACKAGE_DATAFIELD_FLAG_FILE_DEFLATE 1
79 const QString &
lastError() {
return m_szLastError; };
98 void setLastError(
const QString & szLastError) { m_szLastError = szLastError; };
106 void showProgressDialog(
const QString & szCaption,
int iTotalSteps);
112 void hideProgressDialog();
120 bool updateProgress(
int iProgress,
const QString & szLabel);
139 #endif //_KviPackageIOEngine_h_
KviPointerHashTable< QString, QString > * m_pStringInfoFields
Definition: KviPackageIOEngine.h:69
KviPointerHashTable< QString, QByteArray > * binaryInfoFields()
Returns the binary info fields.
Definition: KviPackageIOEngine.h:91
void setLastError(const QString &szLastError)
Sets the last error.
Definition: KviPackageIOEngine.h:98
KviPointerHashTable< QString, QByteArray > * m_pBinaryInfoFields
Definition: KviPackageIOEngine.h:70
QProgressDialog * m_pProgressDialog
Definition: KviPackageIOEngine.h:71
const QString & lastError()
Returns the last error.
Definition: KviPackageIOEngine.h:79
This file contains compile time settings.
KviPointerHashTable< QString, QString > * stringInfoFields()
Returns the string info fields.
Definition: KviPackageIOEngine.h:85
QLabel * m_pProgressDialogLabel
Definition: KviPackageIOEngine.h:72
This class is the base class engine to work with KVIrc package files.
Definition: KviPackageIOEngine.h:53
#define KVILIB_API
Definition: kvi_settings.h:125
Helper functions for the QString class.
QString m_szLastError
Definition: KviPackageIOEngine.h:68