From 603f6e47b2be2b5e03e63f6bee9c6364c92a251e Mon Sep 17 00:00:00 2001 From: Niklas Date: Fri, 2 Sep 2011 17:06:02 +0200 Subject: added a new container class which holds config informations about an interface. also solved the message loss problem by setting the read an writing messages to the same size --- LogReceiver/ndgui.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'LogReceiver/ndgui.cpp') diff --git a/LogReceiver/ndgui.cpp b/LogReceiver/ndgui.cpp index a839aef..5543eef 100644 --- a/LogReceiver/ndgui.cpp +++ b/LogReceiver/ndgui.cpp @@ -9,7 +9,7 @@ ndgui::ndgui(QWidget *parent) connect(&logReceiver, SIGNAL(addNewInterface(QString)), this, SLOT(addNewInterface(QString))); connect(&logReceiver, SIGNAL(changeProgressBarValue(QString , int )), this, SLOT(handleProgress(QString, int))); - connect(&logReceiver, SIGNAL(connectionEstablished(QString)), this, SLOT(handleConnectionEstablished(QString))); + connect(&logReceiver, SIGNAL(connectionEstablished(QString, QString)), this, SLOT(handleConnectionEstablished(QString, QString))); connect(&logReceiver, SIGNAL(abortBoot(QString)), this, SLOT(handleAbortBoot(QString))); connect(&logReceiver, SIGNAL(updateStatusLabel(QString,QString)), this, SLOT(handleUpdateStatusLabel(QString, QString))); connect(&logReceiver, SIGNAL(allProcessesFinished()), this, SLOT(handleAllProcessesFinished())); @@ -89,8 +89,9 @@ void ndgui::handleProgress(QString ifName, int newValue) { } } -void ndgui::handleConnectionEstablished(QString ifName) { +void ndgui::handleConnectionEstablished(QString ifName, QString gateway) { finalUsableInterfaces.append(ifName); + // TODO:: Fix this!! use a interfaceconfiguration object instead!!! } void ndgui::handleAbortBoot(QString msg) { -- cgit v1.2.3-55-g7522