Update of /cvsroot/compbench/CompBenchmarks++/Qt-4
In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv20496
Modified Files:
main.cpp main.h
Log Message:
Batch's can be removed from a plan.
Index: main.cpp
===================================================================
RCS file: /cvsroot/compbench/CompBenchmarks++/Qt-4/main.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** main.cpp 20 May 2007 17:11:07 -0000 1.4
--- main.cpp 21 May 2007 16:33:50 -0000 1.5
***************
*** 173,176 ****
--- 173,183 ----
QString)),
Qt::QueuedConnection);
+
+ connect(this, SIGNAL(sigPlanBatchCompilerRemove(CBM::PlanBatch*,
+ CBM::Compiler*)),
+ this, SLOT(doPlanBatchCompilerRemove(CBM::PlanBatch*,
+ CBM::Compiler*)),
+ Qt::QueuedConnection);
+
}
***************
*** 242,245 ****
--- 249,259 ----
}
+ void Application::doPlanBatchCompilerRemove(CBM::PlanBatch *_batch,
+ CBM::Compiler *_compiler)
+ {
+ planManager->Define()->Batch()->compilerRemove(_batch,
+ _compiler);
+ }
+
void Application::doPlanCompilerSelected(CBM::Compiler *_compiler)
***************
*** 330,333 ****
--- 344,354 ----
}
+ void Application::planCompilerRemove(CBM::PlanBatch *_batch,
+ CBM::Compiler *_compiler)
+ {
+ emit sigPlanBatchCompilerRemove(_batch,
+ _compiler);
+ }
+
CBM::Compiler *Application::PlanCompilerSelected(void)
{
Index: main.h
===================================================================
RCS file: /cvsroot/compbench/CompBenchmarks++/Qt-4/main.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** main.h 17 May 2007 22:38:55 -0000 1.3
--- main.h 21 May 2007 16:33:50 -0000 1.4
***************
*** 79,82 ****
--- 79,84 ----
void sigPlanBatchRenamed(CBM::PlanBatch *_batch,
QString _newname);
+ void sigPlanBatchCompilerRemove(CBM::PlanBatch *_batch,
+ CBM::Compiler *_compiler);
void sigPlanCompilerSelected(CBM::Compiler *_compiler);
***************
*** 97,100 ****
--- 99,105 ----
QString _newname);
+ virtual void doPlanBatchCompilerRemove(CBM::PlanBatch *_batch,
+ CBM::Compiler *_compiler);
+
void doPlanCompilerSelected(CBM::Compiler *_compiler);
***************
*** 112,117 ****
--- 117,125 ----
virtual void planBatchRenamed(CBM::PlanBatch *_batch,
QString _newname);
+ virtual void planCompilerRemove(CBM::PlanBatch *_batch,
+ CBM::Compiler *_compiler);
virtual void planCompilerSelect(CBM::Compiler *_compiler);
+
virtual CBM::Compiler *PlanCompilerSelected(void);
|