mainwindow.cpp
changeset 845 b98c1793bb8b
parent 844 c48bb42fb977
child 847 43268373032d
     1.1 --- a/mainwindow.cpp	Wed Apr 07 10:45:24 2010 +0000
     1.2 +++ b/mainwindow.cpp	Fri Apr 09 14:16:02 2010 +0000
     1.3 @@ -475,17 +475,11 @@
     1.4  
     1.5  	a = new QAction(  "Webpage (HTML)...",this );
     1.6  	a->setShortcut (Qt::ALT + Qt::Key_X);			//Export HTML
     1.7 -	a->setStatusTip ( tr( "Export as %1","status tip file menu").arg(tr(" webpage (XHTML)","status tip file menu")));
     1.8 +	a->setStatusTip ( tr( "Export as %1","status tip file menu").arg(tr(" webpage (HTML)","status tip file menu")));
     1.9  	switchboard.addConnection(a,tr("File","Shortcut group"));
    1.10  	connect( a, SIGNAL( triggered() ), this, SLOT( fileExportHTML() ) );
    1.11  	fileExportMenu->addAction (a);
    1.12  
    1.13 -	a = new QAction(  "Webpage (XHTML)...",this );	//Export XHTML
    1.14 -
    1.15 -	//a->setShortcut (Qt::ALT + Qt::SHIFT + Qt::Key_X);	a->setStatusTip ( tr( "Export as %1","status tip file menu").arg(tr(" webpage (XHTML)","status tip file menu")));
    1.16 -	connect( a, SIGNAL( triggered() ), this, SLOT( fileExportXHTML() ) );
    1.17 -	fileExportMenu->addAction (a);
    1.18 -
    1.19  	a = new QAction( "Text (A&O report)...", this);
    1.20  	a->setStatusTip ( tr( "Export as %1").arg("A&O report "+tr("(still experimental)" )));
    1.21  	switchboard.addConnection(a,tr("File","Shortcut group"));
    1.22 @@ -2448,13 +2442,6 @@
    1.23  	if (m) m->exportHTML();
    1.24  }
    1.25  
    1.26 -
    1.27 -void Main::fileExportXHTML()	
    1.28 -{
    1.29 -	VymModel *m=currentModel();
    1.30 -	if (m) m->exportXHTML();
    1.31 -}
    1.32 -
    1.33  void Main::fileExportImage()	
    1.34  {
    1.35  	VymModel *m=currentModel();