]> Shamusworld >> Repos - architektonas/blobdiff - src/base/rs_fileio.cpp
Changed RS_Graphic to Drawing; this is less confusing as a drawing is
[architektonas] / src / base / rs_fileio.cpp
index e58d1fbecf4243592ac1a828240974d6bfb658a1..8d1e9efa87dd94ac32e96713a94e2048c6b233dc 100644 (file)
@@ -91,11 +91,11 @@ RS_FilterInterface * RS_FileIO::getExportFilter(RS2::FormatType t)
  * of the given file.
  *
  * @param graphic The container to which we will add
- *        entities. Usually that's an RS_Graphic entity but
+ *        entities. Usually that's an Drawing entity but
  *        it can also be a polyline, text, ...
  * @param file Path and name of the file to import.
  */
-bool RS_FileIO::fileImport(RS_Graphic & graphic, const QString & file, RS2::FormatType type)
+bool RS_FileIO::fileImport(Drawing & graphic, const QString & file, RS2::FormatType type)
 {
        RS_DEBUG->print("Trying to import file '%s'...", file.toLatin1().data());
 
@@ -145,7 +145,7 @@ bool RS_FileIO::fileImport(RS_Graphic & graphic, const QString & file, RS2::Form
  *
  * @param file Path and name of the file to import.
  */
-bool RS_FileIO::fileExport(RS_Graphic & graphic, const QString & file, RS2::FormatType type)
+bool RS_FileIO::fileExport(Drawing & graphic, const QString & file, RS2::FormatType type)
 {
        RS_DEBUG->print("RS_FileIO::fileExport");
        //RS_DEBUG->print("Trying to export file '%s'...", file.latin1());