Ignore:
Timestamp:
Nov 9, 2007, 3:32:25 PM (17 years ago)
Author:
garnier
Message:

r627@mac-90108: laurentgarnier | 2007-11-09 07:57:42 +0100
modif dans les includes directives

Location:
trunk/geant4/interfaces
Files:
35 edited

Legend:

Unmodified
Added
Removed
  • trunk/geant4/interfaces/GAG/include/G4UIGAG.hh

    r483 r593  
    2626//
    2727// $Id: G4UIGAG.hh,v 1.7 2006/06/29 19:09:18 gunter Exp $
    28 // GEANT4 tag $Name: geant4-08-01-patch-01 $
     28// GEANT4 tag $Name: geant4-09-00-ref-01 $
    2929//
    3030// G4UIGAG.hh
  • trunk/geant4/interfaces/GAG/include/G4UIGainServer.hh

    r483 r593  
    2626//
    2727// $Id: G4UIGainServer.hh,v 1.5 2006/06/29 19:09:21 gunter Exp $
    28 // $Name: geant4-08-01-patch-01 $
     28// $Name: geant4-09-00-ref-01 $
    2929//
    3030
  • trunk/geant4/interfaces/GAG/src/G4UIGAG.cc

    r483 r593  
    2626//
    2727// $Id: G4UIGAG.cc,v 1.18 2006/06/29 19:09:23 gunter Exp $
    28 // GEANT4 tag $Name: geant4-08-01-patch-01 $
     28// GEANT4 tag $Name: geant4-09-00-ref-01 $
    2929//
    3030// G4UIGAG.cc
  • trunk/geant4/interfaces/GAG/src/G4UIGainServer.cc

    r483 r593  
    2727// 12/06/2002 G4UIGainServer H. MInamimoto and H. Yoshida created
    2828// $Id: G4UIGainServer.cc,v 1.10 2006/06/29 19:09:25 gunter Exp $
    29 // $Name: geant4-08-01-patch-01 $
     29// $Name: geant4-09-00-ref-01 $
    3030//
    3131#ifndef WIN32
  • trunk/geant4/interfaces/History

    r476 r593  
    1 $Id: History,v 1.78 2005/11/28 18:20:20 gcosmo Exp $
     1$Id: History,v 1.82 2007/06/19 10:38:28 gcosmo Exp $
    22-------------------------------------------------------------------
    33
     
    1818     ----------------------------------------------------------
    1919
     2019 June 2007, Gabriele Cosmo (interfaces-V08-03-02)
     21- Fix compilation error on Windows ('theShell' not declared).
     22
     2314 June 2007, Koichi Murakami (interfaces-V08-03-01)
     24- fixed the problem with Ctl-C termination for bash users.
     25 * G4VUIshell   : add a virtual method ResetTerminal()
     26 * G4UItcsh     : add a method ResetTerminal()
     27 * G4UIterminal : add terminal reset when Ctl-C termination
     28
     2922 May 2007, Koichi Murakami (interface-V08-03-00)
     30- G4UIterminal.cc: implement signal handler for soft-abort
     31
    203228 November 2005, Gabriele Cosmo (interface-V07-01-02)
    2133- G4UIXm.cc migrated to sstream
  • trunk/geant4/interfaces/basic/GNUmakefile

    r494 r593  
    1 # $Id: GNUmakefile,v 1.2 2005/01/26 08:50:58 gcosmo Exp $
     1# $Id: GNUmakefile,v 1.3 2007/05/21 07:30:33 kmura Exp $
    22# -------------------------------------------------------------
    33# GNUmakefile for interfaces/basic library.  John Allison, 6/7/98.
    4 
    5 #ifdef G4UI_USE_QT
    6 # This is not  good solution, we have to 'make' twice, but it works...
    7 #moc :
    8 #       @$(MOC) -DG4UI_USE_QT include/G4UIQt.hh -o src/G4UIQt_moc.cc
    9 #endif
    104
    115name := G4UIbasic
     
    2216CPPFLAGS += -I$(G4BASE)/interfaces/common/include
    2317CPPFLAGS += -I$(G4BASE)/intercoms/include
    24 
    25 
     18CPPFLAGS += -I$(G4BASE)/global/management/include \
     19            -I$(G4BASE)/global/HEPRandom/include \
     20            -I$(G4BASE)/global/HEPGeometry/include \
     21            -I$(G4BASE)/run/include \
     22            -I$(G4BASE)/event/include \
     23            -I$(G4BASE)/track/include \
     24            -I$(G4BASE)/tracking/include \
     25            -I$(G4BASE)/particles/management/include \
     26            -I$(G4BASE)/processes/management/include \
     27            -I$(G4BASE)/processes/cuts/include \
     28            -I$(G4BASE)/processes/electromagnetic/utils/include \
     29            -I$(G4BASE)/processes/transportation/include \
     30            -I$(G4BASE)/processes/decay/include \
     31            -I$(G4BASE)/materials/include \
     32            -I$(G4BASE)/geometry/management/include \
     33            -I$(G4BASE)/geometry/volumes/include \
     34            -I$(G4BASE)/geometry/navigation/include \
     35            -I$(G4BASE)/geometry/magneticfield/include \
     36            -I$(G4BASE)/geometry/biasing/include \
     37            -I$(G4BASE)/digits_hits/detector/include \
     38            -I$(G4BASE)/digits_hits/hits/include \
     39            -I$(G4BASE)/digits_hits/digits/include \
     40            -I$(G4BASE)/interfaces/common/include \
     41            -I$(G4BASE)/interfaces/basic/include \
     42            -I$(G4BASE)/intercoms/include \
     43            -I$(G4BASE)/graphics_reps/include
    2644
    2745include $(G4INSTALL)/config/common.gmk
     46
  • trunk/geant4/interfaces/basic/include/G4UIArrayString.hh

    r483 r593  
    2626//
    2727// $Id: G4UIArrayString.hh,v 1.3 2006/06/29 19:09:27 gunter Exp $
    28 // GEANT4 tag $Name: geant4-08-01-patch-01 $
     28// GEANT4 tag $Name: geant4-09-00-ref-01 $
    2929//
    3030
  • trunk/geant4/interfaces/basic/include/G4UIQt.hh

    r577 r593  
    2525//
    2626//
    27 // $Id: G4UIQt.hh,v 1.13 2006/06/29 19:09:33 gunter Exp $
    28 // GEANT4 tag $Name: geant4-08-01 $
     27// $Id: G4UIQt.hh,v 1.2 2007/11/08 17:00:09 lgarnier Exp $
     28// GEANT4 tag $Name: $
    2929//
    3030#ifndef G4UIQt_h
     
    3838#include "G4VInteractiveSession.hh"
    3939
    40 #include <QtGui/qmainwindow.h>
    41 #include <QtGui/qlineedit.h>
    42 #include <QtGui/qlistwidget.h>
    43 #include <QtGui/qtextedit.h>
    44 #include <QtGui/qlabel.h>
    45 #include <QtGui/qtreewidget.h>
    46 #include <QSignalMapper.h>
    47 #include <QObject>
     40#include <QtCore/QObject>
    4841
     42class QMainWindow;
     43class QLineEdit;
    4944class G4UIsession;
    50 
     45class QListWidget;
     46class QTextEdit;
     47class QLabel;
     48class QDialog;
     49class QTreeWidgetItem;
     50class QTreeWidget;
    5151
    5252// Class description :
  • trunk/geant4/interfaces/basic/include/G4UIWin32.hh

    r483 r593  
    2626//
    2727// $Id: G4UIWin32.hh,v 1.14 2006/06/29 19:09:29 gunter Exp $
    28 // GEANT4 tag $Name: geant4-08-01-patch-01 $
     28// GEANT4 tag $Name: geant4-09-00-ref-01 $
    2929//
    3030#ifndef G4UIWin32_h
  • trunk/geant4/interfaces/basic/include/G4UIXaw.hh

    r483 r593  
    2626//
    2727// $Id: G4UIXaw.hh,v 1.6 2006/06/29 19:09:31 gunter Exp $
    28 // GEANT4 tag $Name: geant4-08-01-patch-01 $
     28// GEANT4 tag $Name: geant4-09-00-ref-01 $
    2929//
    3030#ifndef G4UIXaw_h
  • trunk/geant4/interfaces/basic/include/G4UIXm.hh

    r483 r593  
    2626//
    2727// $Id: G4UIXm.hh,v 1.13 2006/06/29 19:09:33 gunter Exp $
    28 // GEANT4 tag $Name: geant4-08-01-patch-01 $
     28// GEANT4 tag $Name: geant4-09-00-ref-01 $
    2929//
    3030#ifndef G4UIXm_h
  • trunk/geant4/interfaces/basic/include/G4UIcsh.hh

    r483 r593  
    2626//
    2727// $Id: G4UIcsh.hh,v 1.4 2006/06/29 19:09:35 gunter Exp $
    28 // GEANT4 tag $Name: geant4-08-01-patch-01 $
     28// GEANT4 tag $Name: geant4-09-00-ref-01 $
    2929//
    3030
  • trunk/geant4/interfaces/basic/include/G4UItcsh.hh

    r483 r593  
    2525//
    2626//
    27 // $Id: G4UItcsh.hh,v 1.7 2006/06/29 19:09:37 gunter Exp $
    28 // GEANT4 tag $Name: geant4-08-01-patch-01 $
     27// $Id: G4UItcsh.hh,v 1.8 2007/06/14 05:44:58 kmura Exp $
     28// GEANT4 tag $Name: geant4-09-00-ref-01 $
    2929//
    3030
     
    4040#include "G4UIcommandTree.hh"
    4141
    42 //
     42// ====================================================================
    4343//   Description:
    4444//   This class gives tcsh-like shell.
     
    6868//   %h ... history# (different from G4 history#)
    6969//
     70// ====================================================================
    7071
    7172class G4UItcsh : public G4VUIshell {
     
    125126  void SetLsColor(TermColorIndex dirColor, TermColorIndex cmdColor);
    126127  virtual G4String GetCommandLine(const char* msg=0);
     128
     129  virtual void ResetTerminal();
    127130};
    128131
     132// ====================================================================
     133//   inline functions
     134// ====================================================================
    129135inline G4bool G4UItcsh::IsCursorLast() const
    130136{
  • trunk/geant4/interfaces/basic/include/G4UIterminal.hh

    r483 r593  
    2424// ********************************************************************
    2525//
     26// $Id: G4UIterminal.hh,v 1.10 2007/05/22 01:51:05 kmura Exp $
     27// GEANT4 tag $Name: geant4-09-00-ref-01 $
    2628//
    27 // $Id: G4UIterminal.hh,v 1.9 2006/06/29 19:09:39 gunter Exp $
    28 // GEANT4 tag $Name: geant4-08-01-patch-01 $
    29 //
    30 
    31 #ifndef G4UIterminal_h
    32 #define G4UIterminal_h 1
    33 
    34 #include <fstream>
    35 #include "G4UImanager.hh"
    36 #include "G4VBasicShell.hh"
    37 #include "G4VUIshell.hh"
    38 
     29// ====================================================================
     30//   G4UIterminal.cc
    3931//
    4032//   Description:
     
    6961//
    7062//   For more detail, see source codes.
    71 //
     63// ====================================================================
     64#ifndef G4UIterminal_h
     65#define G4UIterminal_h 1
     66
     67#include <fstream>
     68#include "G4UImanager.hh"
     69#include "G4VBasicShell.hh"
     70#include "G4VUIshell.hh"
    7271
    7372class G4UIterminal : public G4VBasicShell {
     
    8281
    8382public:
    84   G4UIterminal(G4VUIshell* aShell=0);
     83  G4UIterminal(G4VUIshell* aShell=0, G4bool qsig=true);
    8584  ~G4UIterminal();
    8685
  • trunk/geant4/interfaces/basic/include/G4VUIshell.hh

    r483 r593  
    2525//
    2626//
    27 // $Id: G4VUIshell.hh,v 1.6 2006/06/29 19:09:41 gunter Exp $
    28 // GEANT4 tag $Name: geant4-08-01-patch-01 $
     27// $Id: G4VUIshell.hh,v 1.7 2007/06/14 05:44:58 kmura Exp $
     28// GEANT4 tag $Name: geant4-09-00-ref-01 $
    2929//
    3030
     
    3434#include "globals.hh"
    3535
    36 //
     36// ====================================================================
    3737//   Description:
    3838//   This class is the abstract base class for various UI shells.
     
    5050//   %/ ... current working directory
    5151//
     52// ====================================================================
    5253
    5354// terminal color index
     
    9596  // get command string from a command line
    9697  virtual G4String GetCommandLine(const char* msg=0)= 0;
     98
     99  virtual void ResetTerminal();
    97100};
    98101
    99 
    100 // inlines...
     102// ====================================================================
     103//   inline functions
     104// ====================================================================
    101105inline void G4VUIshell::SetNColumn(G4int ncol)
    102106{
  • trunk/geant4/interfaces/basic/src/G4UIArrayString.cc

    r483 r593  
    2626//
    2727// $Id: G4UIArrayString.cc,v 1.8 2006/06/29 19:09:43 gunter Exp $
    28 // GEANT4 tag $Name: geant4-08-01-patch-01 $
     28// GEANT4 tag $Name: geant4-09-00-ref-01 $
    2929//
    3030
  • trunk/geant4/interfaces/basic/src/G4UIQt.cc

    r579 r593  
    2525//
    2626//
    27 // $Id: G4UIQt.cc,v 1.14 2007/05/29 11:09:49 $
    28 // GEANT4 tag $Name: geant4-08-01 $
     27// $Id: G4UIQt.cc,v 1.3 2007/11/08 17:00:09 lgarnier Exp $
     28// GEANT4 tag $Name: $
    2929//
    3030// L. Garnier
     
    4646#include "G4Qt.hh"
    4747
    48 #include <QtGui/qapplication.h>
    49 #include <QtGui/qwidget.h>
    50 #include <QtGui/qmenu.h>
    51 #include <QtGui/qmenubar.h>
    52 #include <QtGui/qboxlayout.h>
    53 #include <QtGui/qpushbutton.h>
    54 #include <QtGui/qlabel.h>
    55 #include <QtGui/qsplitter.h>
    56 #include <QtGui/qscrollbar.h>
    57 #include <QtGui/qdialog.h>
    58 #include <QtGui/qevent.h>
     48#include <QtGui/QApplication.h>
     49#include <QtGui/QMainWindow.h>
     50#include <QtGui/QLineEdit.h>
     51#include <QtGui/QWidget.h>
     52#include <QtGui/QMenu.h>
     53#include <QtGui/QMenuBar.h>
     54#include <QtGui/QBoxLayout.h>
     55#include <QtGui/QPushButton.h>
     56#include <QtGui/QLabel.h>
     57#include <QtGui/QSplitter.h>
     58#include <QtGui/QScrollBar.h>
     59#include <QtGui/QDialog.h>
     60#include <QtGui/QEvent.h>
     61#include <QtGui/QListWidget.h>
     62#include <QtGui/QTextEdit.h>
     63#include <QtGui/QTreeWidget.h>
     64#include <QtCore/QSignalMapper.h>
     65
    5966
    6067#include <stdlib.h>
  • trunk/geant4/interfaces/basic/src/G4UIQt_moc.cc

    r577 r593  
    22** Meta object code from reading C++ file 'G4UIQt.hh'
    33**
    4 ** Created: Mon Sep 17 14:28:15 2007
     4** Created: Mon Oct 1 10:59:35 2007
    55**      by: The Qt Meta Object Compiler version 59 (Qt 4.2.2)
    66**
    77** WARNING! All changes made in this file will be lost!
    88*****************************************************************************/
     9
     10#ifdef G4UI_BUILD_QT_SESSION
    911
    1012#include "../include/G4UIQt.hh"
     
    99101    QMetaObject::activate(this, &staticMetaObject, 0, _a);
    100102}
     103
     104#endif
  • trunk/geant4/interfaces/basic/src/G4UIWin32.cc

    r483 r593  
    2626//
    2727// $Id: G4UIWin32.cc,v 1.13 2006/06/29 19:09:45 gunter Exp $
    28 // GEANT4 tag $Name: geant4-08-01-patch-01 $
     28// GEANT4 tag $Name: geant4-09-00-ref-01 $
    2929//
    3030// G.Barrand
  • trunk/geant4/interfaces/basic/src/G4UIXaw.cc

    r483 r593  
    2626//
    2727// $Id: G4UIXaw.cc,v 1.6 2006/06/29 19:09:47 gunter Exp $
    28 // GEANT4 tag $Name: geant4-08-01-patch-01 $
     28// GEANT4 tag $Name: geant4-09-00-ref-01 $
    2929//
    3030// G.Barrand
  • trunk/geant4/interfaces/basic/src/G4UIXm.cc

    r483 r593  
    2626//
    2727// $Id: G4UIXm.cc,v 1.14 2006/06/29 19:09:49 gunter Exp $
    28 // GEANT4 tag $Name: geant4-08-01-patch-01 $
     28// GEANT4 tag $Name: geant4-09-00-ref-01 $
    2929//
    3030// G.Barrand
  • trunk/geant4/interfaces/basic/src/G4UIcsh.cc

    r483 r593  
    2626//
    2727// $Id: G4UIcsh.cc,v 1.8 2006/06/29 19:09:51 gunter Exp $
    28 // GEANT4 tag $Name: geant4-08-01-patch-01 $
     28// GEANT4 tag $Name: geant4-09-00-ref-01 $
    2929//
    3030
  • trunk/geant4/interfaces/basic/src/G4UItcsh.cc

    r483 r593  
    2525//
    2626//
    27 // $Id: G4UItcsh.cc,v 1.12 2006/06/29 19:09:54 gunter Exp $
    28 // GEANT4 tag $Name: geant4-08-01-patch-01 $
     27// $Id: G4UItcsh.cc,v 1.15 2007/11/06 09:36:23 kmura Exp $
     28// GEANT4 tag $Name: $
    2929//
    3030
     
    3737#include <ctype.h>
    3838#include <sstream>
     39#include <fstream>
     40#include <stdlib.h>
    3941
    4042// ASCII character code
     
    5961static const int AsciiPrintableMin = 32;
    6062
     63// history file
     64static const G4String historyFileName= "/.g4_hist";
     65
    6166/////////////////////////////////////////////////////////
    6267G4UItcsh::G4UItcsh(const G4String& prompt, G4int maxhist)
     
    6974  // get current terminal mode
    7075  tcgetattr(0, &tios);
     76
     77  // read a shell history file
     78  G4String homedir= getenv("HOME");
     79  G4String fname= homedir + historyFileName;
     80
     81  std::ifstream histfile;
     82  enum { BUFSIZE= 1024 }; char linebuf[BUFSIZE];
     83
     84  histfile.open(fname, std::ios::in);
     85  while (histfile.good()) {
     86    if(histfile.eof()) break;
     87
     88    histfile.getline(linebuf, BUFSIZE);
     89    G4String aline= linebuf;
     90    aline.strip(G4String::both);
     91    if(aline.size() !=  0) StoreHistory(linebuf);
     92  }
     93  histfile.close();
    7194}
    7295
     
    7598/////////////////////
    7699{
    77 }
     100  // store a shell history
     101  G4String homedir= getenv("HOME");
     102  G4String fname= homedir + historyFileName;
     103
     104  std::ofstream histfile;
     105  histfile.open(fname, std::ios::out);
     106
     107  G4int n0hist= 1;
     108  if( currentHistoryNo > maxHistory ) n0hist= currentHistoryNo-maxHistory+1;
     109
     110  for (G4int i=n0hist; i<= currentHistoryNo; i++) {
     111    histfile << RestoreHistory(i) << G4endl;
     112  }
    78113 
    79 ///////////////////////////
     114  histfile.close();
     115}
     116
     117//////////////////////////////////////////
    80118void G4UItcsh::MakePrompt(const char* msg)
    81 ///////////////////////////
     119//////////////////////////////////////////
    82120{
    83121  if(promptSetting.length()<=1) {
     
    130168}
    131169
     170
     171//////////////////////////////
     172void G4UItcsh::ResetTerminal()
     173//////////////////////////////
     174{
     175  RestoreTerm();
     176}
     177
     178
    132179// --------------------------------------------------------------------
    133180//      commad line operations
     
    465512
    466513  G4int jt= input.find_last_of('/');
    467   if(jt<jhead) jt=G4String::npos;
     514  if(jt<jhead) jt=G4int(G4String::npos);
    468515
    469516  if(jt==G4int(G4String::npos)) jt= jhead;
     
    472519  G4String dspstr;
    473520  G4int i;
    474   for(i=jt; i<=G4int(input.length())-1; i++) dspstr+= G4String(AsciiBS); // cleanup
     521  for(i=jt; i<=G4int(input.length())-1; i++) dspstr+= G4String(AsciiBS);
    475522  for(i=jt; i<=G4int(input.length())-1; i++) dspstr+= G4String(' ');
    476523  for(i=jt; i<=G4int(input.length())-1; i++) dspstr+= G4String(AsciiBS);
     
    592639}
    593640
    594 ///////////////////////////////////
     641//////////////////////////////////////////////////
    595642G4String G4UItcsh::GetCommandLine(const char* msg)
    596 ///////////////////////////////////
     643//////////////////////////////////////////////////
    597644{
    598645  SetTermToInputMode();
  • trunk/geant4/interfaces/basic/src/G4UIterminal.cc

    r483 r593  
    2525//
    2626//
    27 // $Id: G4UIterminal.cc,v 1.21 2006/06/29 19:09:56 gunter Exp $
    28 // GEANT4 tag $Name: geant4-08-01-patch-01 $
    29 //
    30 
     27// $Id: G4UIterminal.cc,v 1.27 2007/10/29 18:49:45 asaim Exp $
     28// GEANT4 tag $Name:  $
     29//
     30// ====================================================================
     31//   G4UIterminal.cc
     32//
     33// ====================================================================
    3134#include "G4Types.hh"
    3235#include "G4StateManager.hh"
     
    3841#include <sstream>
    3942
    40 
    41 //////////////////////////////////////////////
    42 G4UIterminal::G4UIterminal(G4VUIshell* aShell)
    43 //////////////////////////////////////////////
     43#ifndef WIN32
     44#include <signal.h>
     45#endif
     46
     47// ====================================================================
     48// signal handler for soft-abort
     49// ====================================================================
     50
     51static G4VUIshell* theshell= 0;
     52
     53#ifndef WIN32
     54
     55extern "C" {
     56
     57////////////////////////////////
     58static void SignalHandler(G4int)
     59////////////////////////////////
     60{
     61  G4StateManager* stateManager= G4StateManager::GetStateManager();
     62  G4ApplicationState state= stateManager-> GetCurrentState();
     63
     64  if(state==G4State_GeomClosed || state==G4State_EventProc) {
     65    G4cout << "aborting Run ...";
     66    G4UImanager::GetUIpointer()->ApplyCommand("/run/abort");
     67    G4cout << G4endl;
     68  } else {
     69    G4cout << G4endl
     70           << "Session terminated." << G4endl;
     71    theshell-> ResetTerminal();
     72    exit(0);
     73  }
     74
     75  // for original Unix / System V
     76  signal(SIGINT, SignalHandler);
     77}
     78
     79}
     80#endif
     81
     82// ====================================================================
     83//
     84// class description
     85//
     86// ====================================================================
     87
     88///////////////////////////////////////////////////////////
     89G4UIterminal::G4UIterminal(G4VUIshell* aShell, G4bool qsig)
     90///////////////////////////////////////////////////////////
    4491{
    4592  UI= G4UImanager::GetUIpointer();
     
    5299  if(aShell) shell= aShell;
    53100  else shell= new G4UIcsh;
     101  theshell= shell; // locally stored for the signal handler
     102
     103  // add signal handler
     104  if(qsig) {
     105#ifndef WIN32
     106  signal(SIGINT, SignalHandler);
     107#endif
     108  }
    54109}
    55110
  • trunk/geant4/interfaces/basic/src/G4VUIshell.cc

    r483 r593  
    2525//
    2626//
    27 // $Id: G4VUIshell.cc,v 1.9 2006/06/29 19:09:59 gunter Exp $
    28 // GEANT4 tag $Name: geant4-08-01-patch-01 $
     27// $Id: G4VUIshell.cc,v 1.10 2007/06/14 05:44:58 kmura Exp $
     28// GEANT4 tag $Name: geant4-09-00-ref-01 $
    2929//
    3030
     
    5959}
    6060
    61 /////////////////////////////
     61////////////////////////////////////////////
    6262void G4VUIshell::MakePrompt(const char* msg)
    63 /////////////////////////////
     63////////////////////////////////////////////
    6464{
    6565  if(promptSetting.length()<=1) {
     
    106106
    107107
     108////////////////////////////////
     109void G4VUIshell::ResetTerminal()
     110////////////////////////////////
     111{
     112
     113}
     114
    108115// --------------------------------------------------------------------
    109116//      G4command operations
     
    308315  arrayString.Show(nColumn);
    309316}
     317
  • trunk/geant4/interfaces/common/include/G4Qt.hh

    r484 r593  
    2525//
    2626//
    27 // $Id: G4Qt.hh,v 1.6 2007/05/29 11:10:14 $
    28 // GEANT4 tag $Name: geant4-08-01 $
     27// $Id: G4Qt.hh,v 1.2 2007/11/08 17:00:09 lgarnier Exp $
     28// GEANT4 tag $Name: $
    2929//
    3030//  To unify Qt event treatment between
     
    3838
    3939#include "G4VInteractorManager.hh"
    40 
    41 #include <QtGui/qapplication.h>
    42 #include <QtGui/qwidget.h>
    43 #include <QtGui/qmainwindow.h>
    4440
    4541// Class description :
  • trunk/geant4/interfaces/common/include/G4VBasicShell.hh

    r483 r593  
    2626//
    2727// $Id: G4VBasicShell.hh,v 1.7 2006/06/29 19:10:03 gunter Exp $
    28 // GEANT4 tag $Name: geant4-08-01-patch-01 $
     28// GEANT4 tag $Name: geant4-09-00-ref-01 $
    2929//
    3030
  • trunk/geant4/interfaces/common/include/G4VInteractorManager.hh

    r483 r593  
    2626//
    2727// $Id: G4VInteractorManager.hh,v 1.9 2006/06/29 19:10:08 gunter Exp $
    28 // GEANT4 tag $Name: geant4-08-01-patch-01 $
     28// GEANT4 tag $Name: geant4-09-00-ref-01 $
    2929//
    3030// G.Barrand
  • trunk/geant4/interfaces/common/include/G4Win32.hh

    r483 r593  
    2626//
    2727// $Id: G4Win32.hh,v 1.8 2006/06/29 19:10:11 gunter Exp $
    28 // GEANT4 tag $Name: geant4-08-01-patch-01 $
     28// GEANT4 tag $Name: geant4-09-00-ref-01 $
    2929//
    3030//  To unify Windows message treatment between
  • trunk/geant4/interfaces/common/include/G4Xt.hh

    r483 r593  
    2626//
    2727// $Id: G4Xt.hh,v 1.6 2006/06/29 19:10:14 gunter Exp $
    28 // GEANT4 tag $Name: geant4-08-01-patch-01 $
     28// GEANT4 tag $Name: geant4-09-00-ref-01 $
    2929//
    3030//  To unify X11 event treatment between
  • trunk/geant4/interfaces/common/src/G4Qt.cc

    r578 r593  
    2525//
    2626//
    27 // $Id: G4Qt.cc,v 1.11 2007/05/29 11:10:28 $
    28 // GEANT4 tag $Name: geant4-08-01 $
     27// $Id: G4Qt.cc,v 1.3 2007/11/08 17:00:09 lgarnier Exp $
     28// GEANT4 tag $Name: $
    2929//
    3030// L. Garnier
     
    3838
    3939#include "G4Qt.hh"
     40
     41#include <QtGui/QApplication.h>
     42
    4043
    4144#define NewString(str)  \
     
    135138//  return         &event;
    136139  printf("*");
     140  return 0;
    137141}
    138142/***************************************************************************/
  • trunk/geant4/interfaces/common/src/G4VBasicShell.cc

    r571 r593  
    2626//
    2727// $Id: G4VBasicShell.cc,v 1.12 2006/06/29 19:10:20 gunter Exp $
    28 // GEANT4 tag $Name: geant4-08-01-patch-01 $
     28// GEANT4 tag $Name: geant4-09-00-ref-01 $
    2929//
    3030
     
    197197    std::vector<G4UIcommand*> commands;
    198198    G4int n_commandEntry = aTree->GetCommandEntry();
    199     for( int i_thCommand = 1; i_thCommand <= n_commandEntry; i_thCommand++ ) {
     199    for( G4int i_thCommand = 1; i_thCommand <= n_commandEntry; i_thCommand++ ) {
    200200      G4UIcommand* cmd = aTree->GetCommand(i_thCommand);
    201201      G4String ss = cmd->GetCommandName();
  • trunk/geant4/interfaces/common/src/G4VInteractorManager.cc

    r483 r593  
    2626//
    2727// $Id: G4VInteractorManager.cc,v 1.13 2006/06/29 19:10:24 gunter Exp $
    28 // GEANT4 tag $Name: geant4-08-01-patch-01 $
     28// GEANT4 tag $Name: geant4-09-00-ref-01 $
    2929//
    3030// G.Barrand
  • trunk/geant4/interfaces/common/src/G4Win32.cc

    r483 r593  
    2626//
    2727// $Id: G4Win32.cc,v 1.9 2006/06/29 19:10:26 gunter Exp $
    28 // GEANT4 tag $Name: geant4-08-01-patch-01 $
     28// GEANT4 tag $Name: geant4-09-00-ref-01 $
    2929//
    3030// G.Barrand
  • trunk/geant4/interfaces/common/src/G4Xt.cc

    r483 r593  
    2626//
    2727// $Id: G4Xt.cc,v 1.11 2006/06/29 19:10:28 gunter Exp $
    28 // GEANT4 tag $Name: geant4-08-01-patch-01 $
     28// GEANT4 tag $Name: geant4-09-00-ref-01 $
    2929//
    3030// G.Barrand
Note: See TracChangeset for help on using the changeset viewer.