diff options
Diffstat (limited to 'workspace/LogReceiver/logreceiver.h')
| -rw-r--r-- | workspace/LogReceiver/logreceiver.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/workspace/LogReceiver/logreceiver.h b/workspace/LogReceiver/logreceiver.h index e4592c0..26a3934 100644 --- a/workspace/LogReceiver/logreceiver.h +++ b/workspace/LogReceiver/logreceiver.h @@ -4,8 +4,6 @@ #include <qprocess.h> #include <qnetworkinterface.h> -class QLabel; -class QPushButton; class QLocalServer; class QLocalSocket; @@ -16,6 +14,8 @@ public: LogReceiver(); ~LogReceiver(); + void initAndRun(); + private slots: void handleNewConnection(); void handleNewInput(); @@ -23,6 +23,9 @@ private slots: void handleProcessFinished(int exitCode, QProcess::ExitStatus exitStatus); void handleProcessStarted(); +signals: + void addNewInterface(QString ifName, int index); + void changeProgressBarValue(int index, int newValue); private: QLocalServer *server; @@ -34,6 +37,7 @@ private: QString pathToDhcpcdExe; QStringList dhcpcdArguments; + void runDHCPCD(QList<QNetworkInterface> &interfaces); void runDHCPCD(QString interface); void checkCarrierState(QList<QNetworkInterface> &interfaces); |
