[bug fixes]

This commit is contained in:
xueyan hu
2021-12-20 15:23:33 +08:00
parent b6475e7ed4
commit 94fc8892ac
4 changed files with 99 additions and 100 deletions

View File

@@ -8,6 +8,9 @@ namespace Ui {
}
class NetCfgTableModel;
class GUIMessageDialog;
class QThread;
class networkCfgDialog : public QDialog
{
Q_OBJECT
@@ -21,14 +24,22 @@ public:
void applyData();
public slots:
void afterThreadStart();
void beforeThreadExit();
private:
bool isModified();
const char* boolToStr(bool b)
{
return b ? "sucess" : "failed";
}
NetCfgTableModel* model_addr = nullptr;
NetCfgTableModel* model_route = nullptr;
GUIMessageDialog* msgDialog = nullptr;
Ui::networkCfgDialog* ui;
QThread* myThread = nullptr;
QString err;
};
#endif // NetworkCfgDialog_H