exports.cpp
changeset 428 9ae68208e2ff
parent 424 d886c77ac0fe
child 432 f867269ab8a1
     1.1 --- a/exports.cpp	Mon Feb 12 09:28:47 2007 +0000
     1.2 +++ b/exports.cpp	Mon Feb 19 12:01:52 2007 +0000
     1.3 @@ -166,6 +166,7 @@
     1.4  	if (mapCenter) me=mapCenter->getMapEditor();
     1.5  	if (me)
     1.6  	{
     1.7 +		cout << "starting KDE export\n";
     1.8  		WarningDialog dia;
     1.9  		dia.showCancelButton (true);
    1.10  		dia.setText(QObject::tr("Exporting the %1 bookmarks will overwrite\nyour existing bookmarks file.").arg("KDE"));
    1.11 @@ -179,9 +180,11 @@
    1.12  			p.setInputFile (tmpDir.path()+"/"+me->getMapName()+".xml");
    1.13  			p.setOutputFile (tmpDir.home().path()+"/.kde/share/apps/konqueror/bookmarks.xml");
    1.14  			p.setXSLFile (vymBaseDir.path()+"/styles/vym2kdebookmarks.xsl");
    1.15 +			cout << "Trying to call vym2kde\n";
    1.16  			p.process();
    1.17  
    1.18  			QString ub=vymBaseDir.path()+"/scripts/update-bookmarks";
    1.19 +			cout << "Trying to call "<<ub.ascii()<<endl;
    1.20  			QProcess *proc= new QProcess ;
    1.21  			proc->start( ub);
    1.22  			if (!proc->waitForStarted())