diff options
author | UnavailableDev <69792062+UnavailableDev@users.noreply.github.com> | 2022-10-30 17:34:33 +0100 |
---|---|---|
committer | UnavailableDev <69792062+UnavailableDev@users.noreply.github.com> | 2022-10-30 17:37:21 +0100 |
commit | 7fe10f756bc2d76a57f28a0350539ae2b614a3ae (patch) | |
tree | 25a0f1e92cb3449752b66eb05e75410d23217e99 /client/dbconnector.h | |
parent | 26564caa92d02a85a23fcd768a301fc76ec7c4cd (diff) |
removed hardcoded `WSdb`
Diffstat (limited to 'client/dbconnector.h')
-rw-r--r-- | client/dbconnector.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/client/dbconnector.h b/client/dbconnector.h index 5b9b1cf..82b4f21 100644 --- a/client/dbconnector.h +++ b/client/dbconnector.h @@ -5,8 +5,7 @@ #include <QMessageBox> //#include <QtSql> //#include <QSqlDatabase> - -#define WS_ESP8266_WLAN_IP "129.168.0.1" +#include "consts.h" namespace Ui { class dbConnector; @@ -20,6 +19,9 @@ public: explicit dbConnector(QWidget *parent = nullptr); ~dbConnector(); + static QString getdbName(); + static QString getEspHost(); + private slots: void on_pushButton_cancel_clicked(); |