summaryrefslogtreecommitdiffstats
path: root/LogReceiver/ndgui.h
diff options
context:
space:
mode:
authorNiklas2011-10-07 14:07:39 +0200
committerNiklas2011-10-07 14:07:39 +0200
commit4595eb426c6e22eba62642f4f64b451c43964fc0 (patch)
tree34facf89448b624556b783c7c8cf3478367ccc10 /LogReceiver/ndgui.h
parentmodified the check for carrier signal. on autoUp==true: if no interface is in... (diff)
downloadfbgui-4595eb426c6e22eba62642f4f64b451c43964fc0.tar.gz
fbgui-4595eb426c6e22eba62642f4f64b451c43964fc0.tar.xz
fbgui-4595eb426c6e22eba62642f4f64b451c43964fc0.zip
renaming of the projekt form LogReceiver into NetworkDiscovery
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