diff options
| author | TanninOne <seppleviathan@gmx.de> | 2015-12-04 17:51:45 +0100 |
|---|---|---|
| committer | TanninOne <seppleviathan@gmx.de> | 2015-12-04 17:51:45 +0100 |
| commit | ce38a3bd33cbc66bfe555ded60a7b1f233c17690 (patch) | |
| tree | 8c17dc38cc30d4d13b1bc99f8b0938d5044de4d6 /src/installationmanager.h | |
| parent | 71b8c0059280cbc506a6ae92b7c4b12a7b15126e (diff) | |
| parent | ca6d7c7d11d5ecc62c8b7a825ff6b1c8bb77b75b (diff) | |
Merge pull request #3 from ThosRTanner/archive_cleanup
Refactoring archive library (Part 3)
Diffstat (limited to 'src/installationmanager.h')
| -rw-r--r-- | src/installationmanager.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/installationmanager.h b/src/installationmanager.h index 111b41f5..5a8ec9d2 100644 --- a/src/installationmanager.h +++ b/src/installationmanager.h @@ -147,12 +147,10 @@ public: private:
- void queryPassword(LPSTR password);
+ void queryPassword(QString *password);
void updateProgress(float percentage);
- void updateProgressFile(LPCWSTR fileName);
- void report7ZipError(LPCWSTR errorMessage);
-
- void dummyProgressFile(LPCWSTR) {}
+ void updateProgressFile(const QString &fileName);
+ void report7ZipError(const QString &errorMessage);
MOBase::DirectoryTree *createFilesTree();
@@ -161,7 +159,7 @@ private: void mapToArchive(const MOBase::DirectoryTree::Node *baseNode);
// recursive worker function for mapToArchive
- void mapToArchive(const MOBase::DirectoryTree::Node *node, std::wstring path, FileData * const *data);
+ void mapToArchive(const MOBase::DirectoryTree::Node *node, QString path, FileData * const *data);
bool unpackSingleFile(const QString &fileName);
@@ -205,7 +203,7 @@ private: std::vector<MOBase::IPluginInstaller*> m_Installers;
std::set<QString, CaseInsensitive> m_SupportedExtensions;
- Archive *m_CurrentArchive;
+ Archive *m_ArchiveHandler;
QString m_CurrentFile;
QProgressDialog *m_InstallationProgress { nullptr };
|
