exports.cpp
changeset 405 a4532e5c2ce3
parent 393 053b8645e3e9
child 424 d886c77ac0fe
     1.1 --- a/exports.cpp	Wed Oct 18 10:45:00 2006 +0000
     1.2 +++ b/exports.cpp	Mon Nov 20 12:12:05 2006 +0000
     1.3 @@ -1,8 +1,3 @@
     1.4 -//#include <q3filedialog.h>
     1.5 -//#include <QMessageBox>
     1.6 -//#include <QProcess>
     1.7 -//#include <QTextStream>
     1.8 -
     1.9  #include "exports.h"
    1.10  #include "file.h"
    1.11  #include "linkablemapobj.h"
    1.12 @@ -13,7 +8,7 @@
    1.13  
    1.14  extern Main *mainWindow;
    1.15  extern QDir vymBaseDir;
    1.16 -
    1.17 +extern QString vymName;
    1.18  
    1.19  ExportBase::ExportBase()
    1.20  {
    1.21 @@ -70,7 +65,7 @@
    1.22  		{
    1.23  			if (QFile (fd->selectedFile()).exists() )
    1.24  			{
    1.25 -				QMessageBox mb( __VYM,
    1.26 +				QMessageBox mb( vymName,
    1.27  					QObject::tr("The file %1 exists already.\nDo you want to overwrite it?").arg(fd->selectedFile()), 
    1.28  				QMessageBox::Warning,
    1.29  				QMessageBox::Yes | QMessageBox::Default,