Ignore:
Timestamp:
Nov 15, 2007, 11:55:45 AM (17 years ago)
Author:
garnier
Message:

r643@mac-90108: laurentgarnier | 2007-11-12 19:00:52 +0100
modif pour qt3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/geant4/visualization/OpenGL/src/G4OpenGLQtViewer.cc

    r601 r602  
    6060#include <qaction.h>
    6161#include <qwidgetlist.h>
    62 #include <qmenudata.h>
    6362#include <qpopupmenu.h>
    6463#include <qimage.h>
     
    954953#else
    955954  nomFich += "."+selectedFilter->toLower();
    956   printf("G4OpenGLQtViewer::name %s\n",nomFich.toAscii());
     955  printf("G4OpenGLQtViewer::name %s\n",nomFich.toStdString().c_str());
    957956#endif
    958957  G4OpenGLQtExportDialog* exportDialog= new G4OpenGLQtExportDialog(GLWindow,nomFich,fWindow->height(),fWindow->width());
     
    11711170  fp = fopen (aFilename.ascii(), "w");
    11721171#else
    1173   fp = fopen (aFilename.toAscii(), "w");
     1172  fp = fopen (aFilename.toStdString().c_str(), "w");
    11741173#endif
    11751174  if (fp == NULL) {
     
    11811180  fprintf (fp, "%%%%Title: %s\n", aFilename.ascii());
    11821181#else
    1183   fprintf (fp, "%%%%Title: %s\n", aFilename.toAscii());
     1182  fprintf (fp, "%%%%Title: %s\n", aFilename.toStdString().c_str());
    11841183#endif
    11851184  fprintf (fp, "%%%%Creator: OpenGL pixmap render output\n");
Note: See TracChangeset for help on using the changeset viewer.