src/relpipe-out-gui.cpp
branchv_0
changeset 38 129b8cca9b98
parent 31 47fb4bb3db45
child 42 707a6734f364
--- a/src/relpipe-out-gui.cpp	Wed Feb 20 11:30:49 2019 +0100
+++ b/src/relpipe-out-gui.cpp	Sat Mar 30 16:14:41 2019 +0100
@@ -30,7 +30,7 @@
 #include <relpipe/reader/RelpipeReaderException.h>
 
 #include "RelpipeChartMainWindow.h"
-#include "QtRelationalReaderStringHadler.h"
+#include "QtRelationalReaderStringHandler.h"
 
 using namespace relpipe::cli;
 using namespace relpipe::reader;
@@ -78,15 +78,15 @@
 	RelationalReaderThread t(reader);
 
 	// Proxy that passes calls from the background thread to the GUI thread using signal-slot mechanism:
-	QtRelationalReaderStringHadler handler(&t); // &t instead of handler.moveToThread(&t); // QObject::moveToThread: Cannot move objects with a parent
+	QtRelationalReaderStringHandler handler(&t); // &t instead of handler.moveToThread(&t); // QObject::moveToThread: Cannot move objects with a parent
 
 	// see Q_DECLARE_METATYPE above
 	qRegisterMetaType<string_t>();
 	qRegisterMetaType<std::vector < AttributeMetadata >> ();
 
-	QObject::connect(&handler, &QtRelationalReaderStringHadler::startRelationReceived, &window, &RelpipeChartMainWindow::startRelation, Qt::ConnectionType::QueuedConnection);
-	QObject::connect(&handler, &QtRelationalReaderStringHadler::attributeReceived, &window, &RelpipeChartMainWindow::attribute, Qt::ConnectionType::QueuedConnection);
-	QObject::connect(&handler, &QtRelationalReaderStringHadler::endOfPipeReceived, &window, &RelpipeChartMainWindow::endOfPipe, Qt::ConnectionType::QueuedConnection);
+	QObject::connect(&handler, &QtRelationalReaderStringHandler::startRelationReceived, &window, &RelpipeChartMainWindow::startRelation, Qt::ConnectionType::QueuedConnection);
+	QObject::connect(&handler, &QtRelationalReaderStringHandler::attributeReceived, &window, &RelpipeChartMainWindow::attribute, Qt::ConnectionType::QueuedConnection);
+	QObject::connect(&handler, &QtRelationalReaderStringHandler::endOfPipeReceived, &window, &RelpipeChartMainWindow::endOfPipe, Qt::ConnectionType::QueuedConnection);
 
 	reader->addHandler(&handler);