src/relpipe-out-chart.cpp
branchv_0
changeset 17 dad72beb3ebe
parent 16 b6f790137bb8
child 18 16784291982f
--- a/src/relpipe-out-chart.cpp	Sat Sep 29 13:26:33 2018 +0200
+++ b/src/relpipe-out-chart.cpp	Sat Sep 29 14:14:00 2018 +0200
@@ -15,14 +15,14 @@
 using namespace relpipe::cli;
 using namespace relpipe::reader;
 
-class WorkerThread : public QThread {
+class RelationalReaderThread : public QThread {
 private:
 	std::shared_ptr<RelationalReader> reader;
 public:
 
 	// TODO: better background thread; lambda?
 
-	WorkerThread(std::shared_ptr<RelationalReader> reader) :
+	RelationalReaderThread(std::shared_ptr<RelationalReader> reader) :
 	reader(reader) {
 		setTerminationEnabled(true);
 	}
@@ -60,7 +60,7 @@
 	reader->addHandler(&handler);
 
 	// Start background thread
-	WorkerThread t(reader);
+	RelationalReaderThread t(reader);
 	t.start();
 	// ---