This commit is contained in:
chenlelin 2019-12-03 19:55:20 +08:00
parent 8d1a4169c5
commit 1d758173bc
15 changed files with 49 additions and 20 deletions

View File

@ -1,24 +1,24 @@
QMAKE_CXX.INCDIRS = \
/usr/include/c++/7 \
/usr/include/x86_64-linux-gnu/c++/7 \
/usr/include/c++/7/backward \
/usr/lib/gcc/x86_64-linux-gnu/7/include \
/usr/local/include \
/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed \
/usr/include/x86_64-linux-gnu \
/usr/include
QMAKE_CXX.LIBDIRS = \
/usr/lib/gcc/x86_64-linux-gnu/7 \
/usr/lib/x86_64-linux-gnu \
/usr/lib \
/lib/x86_64-linux-gnu \
/lib
QMAKE_CXX.QT_COMPILER_STDCXX = 201402L
QMAKE_CXX.QMAKE_GCC_MAJOR_VERSION = 7
QMAKE_CXX.QMAKE_GCC_MINOR_VERSION = 4
QMAKE_CXX.QMAKE_GCC_PATCH_VERSION = 0
QMAKE_CXX.QMAKE_GCC_MAJOR_VERSION = 9
QMAKE_CXX.QMAKE_GCC_MINOR_VERSION = 2
QMAKE_CXX.QMAKE_GCC_PATCH_VERSION = 1
QMAKE_CXX.COMPILER_MACROS = \
QT_COMPILER_STDCXX \
QMAKE_GCC_MAJOR_VERSION \
QMAKE_GCC_MINOR_VERSION \
QMAKE_GCC_PATCH_VERSION
QMAKE_CXX.INCDIRS = \
/usr/include/c++/9 \
/usr/include/x86_64-linux-gnu/c++/9 \
/usr/include/c++/9/backward \
/usr/lib/gcc/x86_64-linux-gnu/9/include \
/usr/local/include \
/usr/lib/gcc/x86_64-linux-gnu/9/include-fixed \
/usr/include/x86_64-linux-gnu \
/usr/include
QMAKE_CXX.LIBDIRS = \
/usr/lib/gcc/x86_64-linux-gnu/9 \
/usr/lib/x86_64-linux-gnu \
/usr/lib \
/lib/x86_64-linux-gnu \
/lib

View File

@ -97,10 +97,10 @@ void BackThread::execDisNet(){
void BackThread::execEnWifi(){
if (execGetIface()->lstate == 2){
system("nmcli networking on;sleep 1");
system("nmcli networking on;sleep 3");
emit launchLanDone();
}
system("nmcli radio wifi on;sleep 5");
system("nmcli radio wifi on;sleep 6");
emit enWifiDone();
emit btFinish();
}

View File

@ -0,0 +1 @@
./man/kylin-nm.1

View File

@ -0,0 +1 @@
e090891c60fbf8a2a9b670a1c0ebd213930e1923

View File

@ -0,0 +1,13 @@
Package: kylin-nm-dbgsym
Package-Type: ddeb
Source: kylin-nm
Version: 1.0.4-1
Auto-Built-Package: debug-symbols
Architecture: amd64
Maintainer: Kylin Team <team+kylin@tracker.debian.org>
Installed-Size: 1847
Depends: kylin-nm (= 1.0.4-1)
Section: debug
Priority: optional
Description: debug symbols for kylin-nm
Build-Ids: e090891c60fbf8a2a9b670a1c0ebd213930e1923

View File

@ -0,0 +1 @@
db3082570ee9d28a9712b883ce9a2277 usr/lib/debug/.build-id/e0/90891c60fbf8a2a9b670a1c0ebd213930e1923.debug

View File

@ -0,0 +1 @@
kylin-nm

1
debian/debhelper-build-stamp vendored Normal file
View File

@ -0,0 +1 @@
kylin-nm

3
debian/files vendored Normal file
View File

@ -0,0 +1,3 @@
kylin-nm-dbgsym_1.0.4-1_amd64.ddeb debug optional automatic=yes
kylin-nm_1.0.4-1_amd64.buildinfo utils optional
kylin-nm_1.0.4-1_amd64.deb utils optional

3
debian/kylin-nm.substvars vendored Normal file
View File

@ -0,0 +1,3 @@
shlibs:Depends=libc6 (>= 2.14), libgcc1 (>= 1:3.0), libqt5core5a (>= 5.12.2), libqt5gui5 (>= 5.7.0) | libqt5gui5-gles (>= 5.7.0), libqt5widgets5 (>= 5.2.0), libstdc++6 (>= 5)
misc:Depends=
misc:Pre-Depends=

BIN
kylin-nm

Binary file not shown.

View File

@ -81,6 +81,8 @@ OneConnForm::OneConnForm(QWidget *parent, MainWindow *mainWindow, ConfForm *conf
this->isActive = false;
connect(ui->lePassword, SIGNAL(returnPressed()), this, SLOT(on_btnConnPWD_clicked()));
ui->btnConn->setShortcut(Qt::Key_Return);//将字母区回车键与登录按钮绑定在一起
ui->btnHideConn->setShortcut(Qt::Key_Return);
}
OneConnForm::~OneConnForm()

View File

@ -23,6 +23,9 @@
#include <QScreen>
#include <QThread>
#include <QDialog>
#include <QLineEdit>
#include <QShortcut>
#include <QKeyEvent>
#include "confform.h"
#include "kylin-network-interface.h"