source: src-qt4/life-preserver/lp-gui/LPConfig.h @ b22b3a5

9.2-releasereleng/10.0releng/10.0.1releng/10.0.2releng/10.0.3releng/10.1
Last change on this file since b22b3a5 was b22b3a5, checked in by Ken Moore <ken@…>, 13 months ago

Add the ability to scan the network for hosts with SSH availability (port 22) to the Configuration UI. If it works, I will add the same thing to the LPWizard.

  • Property mode set to 100644
File size: 839 bytes
Line 
1#ifndef _LP_CONFIG_H
2#define _LP_CONFIG_H
3
4#include <QDialog>
5#include <QString>
6#include <QDebug>
7#include <QMessageBox>
8#include <QInputDialog>
9
10#include "LPBackend.h"
11#include "LPGUtils.h"
12
13namespace Ui{
14        class LPConfig;
15}
16
17class LPConfig : public QDialog{
18        Q_OBJECT
19public:
20        LPConfig(QWidget* parent = 0);
21        ~LPConfig();
22
23        void loadDataset(QString, bool);
24
25        //Output variables
26        bool localChanged, remoteChanged, isReplicated;
27        int localSchedule, localSnapshots, remotePort, remoteFreq;
28        QString remoteHost, remoteUser, remoteDataset;
29
30private:
31        Ui::LPConfig *ui;
32        void loadDatasetConfiguration(QString, bool);
33        void checkForChanges();
34        void setLocalKeepNumber();
35
36private slots:
37        void slotApplyChanges();
38        void slotCancelConfig();
39        void on_combo_local_schedule_currentIndexChanged(int);
40        void autoDetectReplicationTargets();
41};
42
43#endif
Note: See TracBrowser for help on using the repository browser.