[Compbench-devel] CompBenchmarks++/Qt-4/Plan PlanDefineBatch.cpp, 1.12, 1.13 PlanDefineBatch.h, 1.1
Brought to you by:
xfred
|
From: Frederic T. <xf...@us...> - 2007-09-13 18:25:31
|
Update of /cvsroot/compbench/CompBenchmarks++/Qt-4/Plan In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv27384 Modified Files: PlanDefineBatch.cpp PlanDefineBatch.h Log Message: Simplified message passing interface to optionset registering. Index: PlanDefineBatch.cpp =================================================================== RCS file: /cvsroot/compbench/CompBenchmarks++/Qt-4/Plan/PlanDefineBatch.cpp,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** PlanDefineBatch.cpp 13 Sep 2007 18:18:34 -0000 1.12 --- PlanDefineBatch.cpp 13 Sep 2007 18:24:47 -0000 1.13 *************** *** 12,15 **** --- 12,17 ---- int new_options_idx = 0; + PlanDefineBatchList *PL = 0; + PlanDefineBatchContextMenuEvent::PlanDefineBatchContextMenuEvent(Reason reason, const QPoint &globalPos) *************** *** 98,102 **** if (B) ! App->planOptionSetRegister(B); } --- 100,105 ---- if (B) ! PL->doOptionSetRegister(B); ! // App->planOptionSetRegister(B); } *************** *** 294,297 **** --- 297,301 ---- plan=new CBM::Plan; + PL=this; connect(this, SIGNAL(sigPlanBatchRegister(CBM::PlanBatch*)), this, SLOT(doPlanBatchRegister(CBM::PlanBatch*)), Index: PlanDefineBatch.h =================================================================== RCS file: /cvsroot/compbench/CompBenchmarks++/Qt-4/Plan/PlanDefineBatch.h,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** PlanDefineBatch.h 13 Sep 2007 18:18:34 -0000 1.10 --- PlanDefineBatch.h 13 Sep 2007 18:24:47 -0000 1.11 *************** *** 148,152 **** CBM::Compiler *_compiler); ! virtual void doOptionSetRegister(CBM::PlanBatch *_batch); virtual void doOptionSetUnregister(CBM::PlanBatch *_batch, CBM::CompilerOptionSet *_options); --- 148,152 ---- CBM::Compiler *_compiler); ! // !!! virtual void doOptionSetUnregister(CBM::PlanBatch *_batch, CBM::CompilerOptionSet *_options); *************** *** 169,173 **** ! public: PlanDefineBatchList(QWidget *parent = 0); --- 169,174 ---- ! public slots: ! virtual void doOptionSetRegister(CBM::PlanBatch *_batch); public: PlanDefineBatchList(QWidget *parent = 0); |