From 46490158a55f9127360409278fa543f4586426e5 Mon Sep 17 00:00:00 2001 From: Niklas Goby Date: Wed, 23 Nov 2011 11:31:31 +0100 Subject: deleted the NetworkDiscovery and UnixDomainSocketServer folder --- NetworkDiscovery/ndgui.h | 72 ------------------------------------------------ 1 file changed, 72 deletions(-) delete mode 100644 NetworkDiscovery/ndgui.h (limited to 'NetworkDiscovery/ndgui.h') 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 -#include -#include - -#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 _ifNameList; // maps interfaceName to its gateway - - QList _manConfList; - - -}; - -#endif // NDGUI_H -- cgit v1.2.3-55-g7522