0028934: Coding - Eliminate compiler warnings in OCCT samples

- covering Qt warnings for compilation under MSVC 2013 and greater
- avoid warning about 'M_PI'(and others) redefinition warning of math.h: includes of QtWidgets should follow after other includes.
This commit is contained in:
nds
2018-04-04 06:25:02 +03:00
committed by bugmaster
parent 41bf7e0b3c
commit 55a40de890
36 changed files with 103 additions and 32 deletions

View File

@@ -19,24 +19,24 @@ FThread::~FThread()
}
void FThread::setIterator(const TFunction_Iterator& itr)
void FThread::setIterator(const TFunction_Iterator& theItr)
{
this->itr = itr;
this->itr = theItr;
}
void FThread::setLogbook(const Handle(TFunction_Logbook)& log)
void FThread::setLogbook(const Handle(TFunction_Logbook)& theLog)
{
this->log = log;
this->log = theLog;
}
void FThread::setGraph(GraphWidget* graph)
void FThread::setGraph(GraphWidget* theGraph)
{
this->graph = graph;
this->graph = theGraph;
}
void FThread::setThreadIndex(const int thread_index)
void FThread::setThreadIndex(const int theIndex)
{
this->thread_index = thread_index;
this->thread_index = theIndex;
}
// Returns any free (not executed yet) function