diff --git a/NewSession/NewSession.cpp b/NewSession/NewSession.cpp index 494e82a..f406bff 100644 --- a/NewSession/NewSession.cpp +++ b/NewSession/NewSession.cpp @@ -5,7 +5,6 @@ #include "SerialSetting.h" #include "TelnetSetting.h" #include "NetAssistSetting.h" -#include "KconfigSetting.h" NewSession::NewSession(QWidget *parent) : QDialog(parent), @@ -21,7 +20,6 @@ NewSession::NewSession(QWidget *parent) : wSetting["串口终端"] = sset; wSetting["telnet"] = new TelnetSetting; wSetting["网络助手"] = new NetAssistSetting; - wSetting["Kconfig"] = new KconfigSetting; } NewSession::~NewSession() diff --git a/NewSession/NewSession.ui b/NewSession/NewSession.ui index 9bb811f..5860132 100644 --- a/NewSession/NewSession.ui +++ b/NewSession/NewSession.ui @@ -64,11 +64,6 @@ 网络助手 - - - Kconfig - - diff --git a/QSuperTerm.pro b/QSuperTerm.pro index 901ea2f..f1609f4 100644 --- a/QSuperTerm.pro +++ b/QSuperTerm.pro @@ -23,7 +23,6 @@ FORMS += \ Console/console.ui \ NetAssist/NetAssist.ui \ NewSession/NetAssistSetting.ui \ - NewSession/KconfigSetting.ui HEADERS += \ SuperTerm/mainwindow.h \ @@ -45,12 +44,6 @@ HEADERS += \ Console/pty.h \ NetAssist/NetAssist.h \ NewSession/NetAssistSetting.h \ - KConfig/expr.h \ - KConfig/list.h \ - KConfig/lkc.h \ - KConfig/lkc_proto.h \ - KConfig/qconf.h \ - KConfig/QKconfig.h \ NewSession/KconfigSetting.h @@ -74,21 +67,9 @@ SOURCES += \ Console/pty.cpp \ NetAssist/NetAssist.cpp \ NewSession/NetAssistSetting.cpp \ - KConfig/qconf.cpp \ - KConfig/QKconfig.cpp \ - KConfig/confdata.c \ - KConfig/expr.c \ - KConfig/images.c \ - KConfig/menu.c \ - KConfig/symbol.c \ - KConfig/util.c \ - KConfig/zconf.hash.c \ - KConfig/zconf.lex.c \ - KConfig/zconf.tab.c \ NewSession/KconfigSetting.cpp win: { LIBS += -L$$PWD/./ -lwinpty } -LIBS += -lregex diff --git a/SuperTerm/mainwindow.cpp b/SuperTerm/mainwindow.cpp index 167a40d..af30b51 100644 --- a/SuperTerm/mainwindow.cpp +++ b/SuperTerm/mainwindow.cpp @@ -137,7 +137,6 @@ QTreeWidgetItem* MainWindow::addSessionProject(Session &set) #include "Telnet/TelnetTerm.h" #include "Console/Console.h" #include "NetAssist/NetAssist.h" -#include "KConfig/qconf.h" QWidget* MainWindow::addSessionWindow(Session &set, QTreeWidgetItem *item) { @@ -175,14 +174,6 @@ QWidget* MainWindow::addSessionWindow(Session &set, QTreeWidgetItem *item) w = con; } - if (set.type == "Kconfig") - { - ConfigMainWindow *con = new ConfigMainWindow; - - con->setSettings(set); - w = con; - } - return w; }