Changeset 602 for trunk/geant4/visualization/OpenGL/src/G4OpenGLQtViewer.cc
- Timestamp:
- Nov 15, 2007, 11:55:45 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/geant4/visualization/OpenGL/src/G4OpenGLQtViewer.cc
r601 r602 60 60 #include <qaction.h> 61 61 #include <qwidgetlist.h> 62 #include <qmenudata.h>63 62 #include <qpopupmenu.h> 64 63 #include <qimage.h> … … 954 953 #else 955 954 nomFich += "."+selectedFilter->toLower(); 956 printf("G4OpenGLQtViewer::name %s\n",nomFich.to Ascii());955 printf("G4OpenGLQtViewer::name %s\n",nomFich.toStdString().c_str()); 957 956 #endif 958 957 G4OpenGLQtExportDialog* exportDialog= new G4OpenGLQtExportDialog(GLWindow,nomFich,fWindow->height(),fWindow->width()); … … 1171 1170 fp = fopen (aFilename.ascii(), "w"); 1172 1171 #else 1173 fp = fopen (aFilename.to Ascii(), "w");1172 fp = fopen (aFilename.toStdString().c_str(), "w"); 1174 1173 #endif 1175 1174 if (fp == NULL) { … … 1181 1180 fprintf (fp, "%%%%Title: %s\n", aFilename.ascii()); 1182 1181 #else 1183 fprintf (fp, "%%%%Title: %s\n", aFilename.to Ascii());1182 fprintf (fp, "%%%%Title: %s\n", aFilename.toStdString().c_str()); 1184 1183 #endif 1185 1184 fprintf (fp, "%%%%Creator: OpenGL pixmap render output\n");
Note: See TracChangeset
for help on using the changeset viewer.