source: src-qt4/warden-gui/dialogEditIP.h @ 470af24a

9.1-release9.2-releasereleng/10.0releng/10.0.1releng/10.0.2releng/10.0.3
Last change on this file since 470af24a was 470af24a, checked in by Kris Moore <kris@…>, 17 months ago

Finish up the IP dialog, now we can set all aliases / bridge aliases
and such from the GUI

  • Property mode set to 100644
File size: 894 bytes
Line 
1
2#ifndef EDITIP_H
3#define EDITIP_H
4
5#include "ui_dialogEditIP.h"
6
7class dialogEditIP : public QDialog, private Ui::dialogEditIP
8{
9        Q_OBJECT
10
11public:
12        dialogEditIP() : QDialog()
13        {
14          setupUi(this);
15        }
16
17        void programInit(QString);
18
19public slots:
20
21protected:
22
23private slots:
24        bool sanityCheckSettings();
25        void slotAddClicked();
26        void slotRemClicked();
27        void slotCancelClicked();
28        void slotSaveClicked();
29        void slotCheckChecks();
30        void slotComboIPChanged();
31
32private:
33        void displayRepos();
34        void saveSettings();
35        bool checkValidBlock(QString block, QString type);
36        QString jailName;
37        QString JailDir;
38        QStringList IPv4Alias;
39        QStringList IPv4AliasBridge;
40        QStringList IPv6Alias;
41        QStringList IPv6AliasBridge;
42
43signals:
44        void saved();
45} ;
46#endif // EDITIP_H
Note: See TracBrowser for help on using the repository browser.