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

9.1-release9.2-releasereleng/10.0releng/10.0.1
Last change on this file since f7c535e was f7c535e, checked in by Kris Moore <kris@…>, 12 months ago
  • Rename the Jail IP widget -> Jail Configuration
  • Add new "Permissions" tab to the Jail config widget
  • Add support for getting / setting jail permissions
  • Property mode set to 100644
File size: 970 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 loadPerms();
35        void savePerms();
36        void saveSettings();
37        bool checkValidBlock(QString block, QString type);
38        QString jailName;
39        QString JailDir;
40        QStringList IPv4Alias;
41        QStringList IPv4AliasBridge;
42        QStringList IPv6Alias;
43        QStringList IPv6AliasBridge;
44        QStringList jailFlags;
45
46signals:
47        void saved();
48} ;
49#endif // EDITIP_H
Note: See TracBrowser for help on using the repository browser.