summaryrefslogtreecommitdiffstats
path: root/NetworkDiscovery/ndgui.h
diff options
context:
space:
mode:
Diffstat (limited to 'NetworkDiscovery/ndgui.h')
-rw-r--r--NetworkDiscovery/ndgui.h72
1 files changed, 0 insertions, 72 deletions
diff --git a/NetworkDiscovery/ndgui.h b/NetworkDiscovery/ndgui.h
deleted file mode 100644
index 6235e84..0000000
--- a/NetworkDiscovery/ndgui.h
+++ /dev/null
@@ -1,72 +0,0 @@
-#ifndef NDGUI_H
-#define NDGUI_H
-
-#include <QtGui>
-#include <QtWebKit>
-#include <QVariant>
-
-#include "networkdiscovery.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 tryAgain();
-
-
- 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:
-
- QString _tag;
-
- void createAction();
-
- bool _userChoice;
-
- bool _started;
-
- bool _tryAgain;
-
- QWebView * _webView;
-
- QAction * _allowUserChoice;
-
- NetworkDiscovery networkDiscovery;
-
- QList<QString> _ifNameList; // maps interfaceName to its gateway
-
- QList<QString> _manConfList;
-
-
-};
-
-#endif // NDGUI_H