summaryrefslogtreecommitdiffstats
path: root/workspace/LogReceiver/ndgui.cpp
diff options
context:
space:
mode:
authorNiklas2011-08-01 16:55:01 +0200
committerNiklas2011-08-01 16:55:01 +0200
commite0d30e3134fcbe54182d53e69f64167db408014b (patch)
treeec870362fb54c9a8ed0ea5bd815721888e356a2d /workspace/LogReceiver/ndgui.cpp
parentseperation of logic and gui completed. (diff)
downloadfbgui-e0d30e3134fcbe54182d53e69f64167db408014b.tar.gz
fbgui-e0d30e3134fcbe54182d53e69f64167db408014b.tar.xz
fbgui-e0d30e3134fcbe54182d53e69f64167db408014b.zip
added some log statements to the dhcpcd client. But unfortunately it seems that some message will not be delivered. It happens that after the process finished message, some other messages arrived
Diffstat (limited to 'workspace/LogReceiver/ndgui.cpp')
-rw-r--r--workspace/LogReceiver/ndgui.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/workspace/LogReceiver/ndgui.cpp b/workspace/LogReceiver/ndgui.cpp
index e838a8c..629a8fb 100644
--- a/workspace/LogReceiver/ndgui.cpp
+++ b/workspace/LogReceiver/ndgui.cpp
@@ -10,7 +10,7 @@ ndgui::ndgui(QWidget *parent)
buildGui();
- logReceiver.initAndRun();
+ logReceiver.initAndRun("/var/tmp/qt_c_socket_custom");
setWindowTitle(tr("NetD"));
@@ -23,8 +23,6 @@ ndgui::~ndgui()
void ndgui::buildGui() {
-
-
ndStatusLabel = new QLabel(tr("test"));
ndStatusLabel->setSizePolicy(QSizePolicy::Expanding,
QSizePolicy::Expanding);
@@ -86,6 +84,7 @@ void ndgui::addInterfacesToGroupBox(QList<QNetworkInterface> &interfaces) {
}
*/
void ndgui::handleProgress(int iFaceIndex, int newValue) {
+ qDebug() << "<[---]> SLOT handleProgress activated with: " << iFaceIndex << newValue;
QProgressBar * pBar = progressBars.value(iFaceIndex);
if(newValue >= pBar->value()) {
pBar->setValue(newValue);