Ignore:
Timestamp:
Oct 30, 2008, 5:48:40 PM (16 years ago)
Author:
garnier
Message:

update to G4 DEBUG official messages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/interfaces/basic/src/G4UIQt.cc

    r867 r874  
    2525//
    2626//
    27 // $Id: G4UIQt.cc,v 1.20 2008/10/15 09:09:47 lgarnier Exp $
     27// $Id: G4UIQt.cc,v 1.21 2008/10/24 13:23:22 lgarnier Exp $
    2828// GEANT4 tag $Name:  $
    2929//
    3030// L. Garnier
    31 
    32 //#define GEANT4_QT_DEBUG
    3331
    3432#ifdef G4UI_BUILD_QT_SESSION
     
    102100*/
    103101G4UIQt::G4UIQt (
    104  int* argc
     102 int argc
    105103,char** argv
    106104)
     
    140138  fMainWindow = new QMainWindow();
    141139
    142 #ifdef GEANT4_QT_DEBUG
     140#ifdef G4DEBUG
    143141  printf("G4UIQt::Initialise after main window creation\n");
    144142#endif
     
    201199#endif
    202200  fTextArea->setReadOnly(true);
    203 
    204 
    205 #ifdef GEANT4_QT_DEBUG
    206   printf("G4UIQt::   2\n");
    207 #endif
    208 
    209 
    210201
    211202  layoutTop->addWidget(fTextArea);
     
    306297
    307298
    308 #ifdef GEANT4_QT_DEBUG
    309   printf("disable secondary loop\n");
    310 #endif
    311299  interactorManager->DisableSecondaryLoop (); // TO KEEP
    312300  if ((QApplication*)interactorManager->GetMainInteractor())
     
    323311
    324312  interactorManager->EnableSecondaryLoop ();
    325 #ifdef GEANT4_QT_DEBUG
    326   printf("enable secondary loop\n");
    327 #endif
    328313  return this;
    329314}
     
    369354  if (!aState) return;
    370355
    371 #ifdef GEANT4_QT_DEBUG
    372   printf("G4UIQt::PauseSessionStart\n");
    373 #endif
    374356  if(aState=="G4_pause> ") {  // TO KEEP
    375357    SecondaryLoop ("Pause, type continue to exit this state"); // TO KEEP
     
    394376  if (!aPrompt) return;
    395377
    396 #ifdef GEANT4_QT_DEBUG
    397   printf("G4UIQt::SecondaryLoop\n");
    398 #endif
    399378  G4Qt* interactorManager = G4Qt::getInstance (); // TO KEEP ?
    400379  Prompt(aPrompt); // TO KEEP
     
    1005984)
    1006985{
    1007 #ifdef GEANT4_QT_DEBUG
     986#ifdef G4DEBUG
    1008987  printf("G4UIQt::GetHelpChoice SHOULD NEVER GO HERE");
    1009988#endif
     
    1017996)
    1018997{
    1019 #ifdef GEANT4_QT_DEBUG
     998#ifdef G4DEBUG
    1020999  printf("G4UIQt::ExitHelp SHOULD NEVER GO HERE");
    10211000#endif
     
    16151594      commandResultMap.insert(tmp*multFactor+doubleKeyAdd,QString((char*)(aCommandTree->GetCommand(a+1)->GetCommandPath()).data()));
    16161595#endif
    1617 #ifdef GEANT4_QT_DEBUG
    1618 #endif
    16191596    }
    16201597   
Note: See TracChangeset for help on using the changeset viewer.