From 4595eb426c6e22eba62642f4f64b451c43964fc0 Mon Sep 17 00:00:00 2001 From: Niklas Date: Fri, 7 Oct 2011 14:07:39 +0200 Subject: renaming of the projekt form LogReceiver into NetworkDiscovery --- LogReceiver/ndgui.h | 71 ----------------------------------------------------- 1 file changed, 71 deletions(-) delete mode 100644 LogReceiver/ndgui.h (limited to 'LogReceiver/ndgui.h') 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 -#include -#include - -#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 _ifNameList; // maps interfaceName to its gateway - - QList _manConfList; - - QString _manualConfInterfaces; - - -}; - -#endif // NDGUI_H -- cgit v1.2.3-55-g7522