summaryrefslogtreecommitdiffstats
path: root/LogReceiver/ndgui.h
diff options
context:
space:
mode:
Diffstat (limited to 'LogReceiver/ndgui.h')
-rw-r--r--LogReceiver/ndgui.h71
1 files changed, 0 insertions, 71 deletions
diff --git a/LogReceiver/ndgui.h b/LogReceiver/ndgui.h
deleted file mode 100644
index 3955303..0000000
--- a/LogReceiver/ndgui.h
+++ /dev/null
@@ -1,71 +0,0 @@
-#ifndef NDGUI_H
-#define NDGUI_H
-
-#include <QtGui>
-#include <QtWebKit>
-#include <QVariant>
-
-#include "networkdiscovery.h"
-
-#include "ui_ndgui.h"
-
-class ndgui: public QMainWindow {
-Q_OBJECT
-
-public:
- ndgui(QMainWindow *parent = 0);
- ~ndgui();
- Q_INVOKABLE QVariantList getManualConfInterfaces();
- Q_INVOKABLE int ip4_setManualConfiguration(QVariantMap result);
- Q_INVOKABLE QString readLogFile();
-
-public slots:
- void handleConnectionEstablished(QString ifName);
- void abortBoot(QString msg);
- void chooseInterfaceDialog(QString msg);
- void handleAllProcessesFinished();
-
- void restartSystem();
- void shutDownSystem();
- void continueBoot(QString ifName, int userChoice);
-
-
- void prepareNetworkDiscover();
- void startNetworkDiscovery();
-
- /*test for html gui version*/
- void attachToDOM();
- void loadJQuery();
- void addInterface(const QString &ifName);
- void updateIfStatus(const QString &ifName, const QString &status);
- void updateStatus(const QString &status);
- void updateIfProgressBar(const QString &ifName, const int& percent);
- void notifyCall(QString msg);
-
-
-private slots:
- void setUserChoiceTrue();
-private:
-
- void createAction();
-
- bool _userChoice;
-
- bool _started;
-
- QWebView * _webView;
-
- QAction * _allowUserChoice;
-
- NetworkDiscovery networkDiscovery;
-
- QList<QString> _ifNameList; // maps interfaceName to its gateway
-
- QList<QString> _manConfList;
-
- QString _manualConfInterfaces;
-
-
-};
-
-#endif // NDGUI_H