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

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

Remove the old life-preserver from the src-qt4/life-preserver dir, and replace it with src-qt4/life-preserver/lp-tray and src-qt4/life-preserver/lp-gui.

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