summaryrefslogtreecommitdiff
path: root/src/frontend/bookshelfmanager/cswordsetupinstallsourcesdialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/bookshelfmanager/cswordsetupinstallsourcesdialog.h')
-rw-r--r--src/frontend/bookshelfmanager/cswordsetupinstallsourcesdialog.h23
1 files changed, 14 insertions, 9 deletions
diff --git a/src/frontend/bookshelfmanager/cswordsetupinstallsourcesdialog.h b/src/frontend/bookshelfmanager/cswordsetupinstallsourcesdialog.h
index d875cda..64c7f21 100644
--- a/src/frontend/bookshelfmanager/cswordsetupinstallsourcesdialog.h
+++ b/src/frontend/bookshelfmanager/cswordsetupinstallsourcesdialog.h
@@ -7,39 +7,44 @@
*
**********/
-
#ifndef CSWORDSETUPINSTALLSOURCESDIALOG_H
#define CSWORDSETUPINSTALLSOURCESDIALOG_H
-#include "frontend/bookshelfmanager/btinstallmgr.h"
-
#include <QDialog>
+#include "frontend/bookshelfmanager/btinstallmgr.h"
+
+// Sword includes:
#include <installmgr.h>
-class QLabel;
+
class QComboBox;
+class QLabel;
class QLineEdit;
-
-
+class QProgressDialog;
class CSwordSetupInstallSourcesDialog : public QDialog {
Q_OBJECT
public:
- static sword::InstallSource getSource();
-
- protected:
+ sword::InstallSource getSource();
+ bool wasRemoteListAdded() {return m_remoteListAdded;}
CSwordSetupInstallSourcesDialog();
protected slots:
void slotOk();
void slotProtocolChanged();
+ void slotGetListClicked();
+ void slotRefreshCanceled();
+ void slotRefreshProgress(const int, const int current);
private:
QLabel *m_serverLabel;
QLineEdit *m_captionEdit, *m_serverEdit, *m_pathEdit;
QComboBox *m_protocolCombo;
+ QProgressDialog* m_progressDialog;
+ BtInstallMgr* m_currentInstallMgr;
+ bool m_remoteListAdded;
};