Changeset View
Changeset View
Standalone View
Standalone View
dealer.cpp
Show First 20 Lines • Show All 147 Lines • ▼ Show 20 Line(s) | 147 | { | |||
---|---|---|---|---|---|
148 | Q_OBJECT | 148 | Q_OBJECT | ||
149 | 149 | | |||
150 | public: | 150 | public: | ||
151 | SolverThread( SolverInterface * solver ) | 151 | SolverThread( SolverInterface * solver ) | ||
152 | : m_solver( solver ) | 152 | : m_solver( solver ) | ||
153 | { | 153 | { | ||
154 | } | 154 | } | ||
155 | 155 | | |||
156 | void run() Q_DECL_OVERRIDE | 156 | void run() override | ||
157 | { | 157 | { | ||
158 | SolverInterface::ExitStatus result = m_solver->patsolve(); | 158 | SolverInterface::ExitStatus result = m_solver->patsolve(); | ||
159 | emit finished( result ); | 159 | emit finished( result ); | ||
160 | } | 160 | } | ||
161 | 161 | | |||
162 | void abort() | 162 | void abort() | ||
163 | { | 163 | { | ||
164 | m_solver->stopExecution(); | 164 | m_solver->stopExecution(); | ||
▲ Show 20 Lines • Show All 1940 Lines • Show Last 20 Lines |