Skip to content

Commit

Permalink
移除kconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
heyuanjie87 committed Dec 20, 2019
1 parent a3fa2af commit 8445187
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 35 deletions.
2 changes: 0 additions & 2 deletions NewSession/NewSession.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
#include "SerialSetting.h"
#include "TelnetSetting.h"
#include "NetAssistSetting.h"
#include "KconfigSetting.h"

NewSession::NewSession(QWidget *parent) :
QDialog(parent),
Expand All @@ -21,7 +20,6 @@ NewSession::NewSession(QWidget *parent) :
wSetting["串口终端"] = sset;
wSetting["telnet"] = new TelnetSetting;
wSetting["网络助手"] = new NetAssistSetting;
wSetting["Kconfig"] = new KconfigSetting;
}

NewSession::~NewSession()
Expand Down
5 changes: 0 additions & 5 deletions NewSession/NewSession.ui
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,6 @@
<string>网络助手</string>
</property>
</item>
<item>
<property name="text">
<string>Kconfig</string>
</property>
</item>
</widget>
<widget class="QLabel" name="label">
<property name="geometry">
Expand Down
19 changes: 0 additions & 19 deletions QSuperTerm.pro
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ FORMS += \
Console/console.ui \
NetAssist/NetAssist.ui \
NewSession/NetAssistSetting.ui \
NewSession/KconfigSetting.ui
HEADERS += \
SuperTerm/mainwindow.h \
Expand All @@ -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


Expand All @@ -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
9 changes: 0 additions & 9 deletions SuperTerm/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down Expand Up @@ -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;
}

Expand Down

0 comments on commit 8445187

Please sign in to comment.