summaryrefslogtreecommitdiff
path: root/ui/qt5/subnetbox.hh
diff options
context:
space:
mode:
Diffstat (limited to 'ui/qt5/subnetbox.hh')
-rw-r--r--ui/qt5/subnetbox.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/qt5/subnetbox.hh b/ui/qt5/subnetbox.hh
index 9f2edbf..8104a6b 100644
--- a/ui/qt5/subnetbox.hh
+++ b/ui/qt5/subnetbox.hh
@@ -26,11 +26,15 @@ public:
SubnetBox(QWidget *parent = nullptr);
QString subnetMask() const;
int subnetCIDR() const;
+ void setSubnetCIDR(int value);
public slots:
void subnetEdited(const QString &text);
void cidrEdited(int value);
+signals:
+ void valueChanged(int value);
+
private:
QHBoxLayout *layout;
QLineEdit *subnet;