exportxhtmldialog.ui.h
branchqt4-port
changeset 17 557239819c45
parent 2 608f976aa7bb
     1.1 --- a/exportxhtmldialog.ui.h	Tue Jun 06 14:58:11 2006 +0000
     1.2 +++ b/exportxhtmldialog.ui.h	Wed Aug 30 12:16:25 2006 +0000
     1.3 @@ -25,42 +25,42 @@
     1.4  void ExportXHTMLDialog::readSettings()
     1.5  {
     1.6  
     1.7 -	dir=settings.readLocalEntry (filepath,"/vym/export/xhtml/exportDir",vymBaseDir.currentDirPath() );
     1.8 +	dir=settings.readLocalEntry (filepath,"/export/xhtml/exportDir",vymBaseDir.currentDirPath() );
     1.9  	lineEditDir->setText(dir);
    1.10  	
    1.11 -    if ( settings.readLocalEntry (filepath,"/vym/export/xhtml/useImage","yes")=="yes")
    1.12 +    if ( settings.readLocalEntry (filepath,"/export/xhtml/useImage","yes")=="yes")
    1.13  		useImage=true;
    1.14  	else	
    1.15  		useImage=false;
    1.16  	imageButton->setChecked(useImage);
    1.17  		
    1.18 -	if ( settings.readLocalEntry (filepath,"/vym/export/xhtml/useTextColor","no")=="yes")
    1.19 +	if ( settings.readLocalEntry (filepath,"/export/xhtml/useTextColor","no")=="yes")
    1.20  		useTextColor=true;
    1.21  	else	
    1.22  		useTextColor=false;
    1.23  	textColorButton->setChecked(useTextColor);
    1.24  	
    1.25  /* FIXME this was used in old html export, is not yet in new stylesheet
    1.26 -	if ( settings.readEntry ("/vym/export/html/useHeading","no")=="yes")
    1.27 +	if ( settings.readEntry ("/export/html/useHeading","no")=="yes")
    1.28  		useHeading=true;
    1.29  	else	
    1.30  		useHeading=false;
    1.31  	checkBox4_2->setChecked(useHeading);
    1.32  */		
    1.33  
    1.34 -	if ( settings.readLocalEntry (filepath,"/vym/export/xhtml/saveSettingsInMap","no")=="yes")
    1.35 +	if ( settings.readLocalEntry (filepath,"/export/xhtml/saveSettingsInMap","no")=="yes")
    1.36  		saveSettingsInMap=true;
    1.37  	else	
    1.38  		saveSettingsInMap=false;
    1.39  	saveSettingsInMapButton->setChecked(saveSettingsInMap);
    1.40  
    1.41 -	if ( settings.readEntry ("/vym/export/xhtml/showWarnings","yes")=="yes")
    1.42 +	if ( settings.readEntry ("/export/xhtml/showWarnings","yes")=="yes")
    1.43  		showWarnings=true;
    1.44  	else	
    1.45  		showWarnings=false;
    1.46  	warningsButton->setChecked(showWarnings);
    1.47  	
    1.48 -	if ( settings.readEntry ("/vym/export/xhtml/showOutput","no")=="yes")
    1.49 +	if ( settings.readEntry ("/export/xhtml/showOutput","no")=="yes")
    1.50  		showOutput=true;
    1.51  	else	
    1.52  		showOutput=false;
    1.53 @@ -74,19 +74,19 @@
    1.54  	} else
    1.55  	{
    1.56  		xsl=settings.readLocalEntry 
    1.57 -			(filepath,"/vym/export/xhtml/xsl","/usr/share/vym/styles/vym2xhtml.xsl");
    1.58 +			(filepath,"/export/xhtml/xsl","/usr/share/vym/styles/vym2xhtml.xsl");
    1.59  		css=settings.readLocalEntry 
    1.60 -			(filepath,"/vym/export/xhtml/css","/usr/share/vym/styles/vym.css");	
    1.61 +			(filepath,"/export/xhtml/css","/usr/share/vym/styles/vym.css");	
    1.62  	}
    1.63  	lineEditXSL->setText(xsl);
    1.64  	lineEditCSS->setText(css);
    1.65  	
    1.66  	prescript=settings.readLocalEntry
    1.67 -		(filepath,"/vym/export/xhtml/prescript","");
    1.68 +		(filepath,"/export/xhtml/prescript","");
    1.69  	lineEditPreScript->setText (prescript);	
    1.70  	
    1.71  	postscript=settings.readLocalEntry
    1.72 -		(filepath,"/vym/export/xhtml/postscript","");
    1.73 +		(filepath,"/export/xhtml/postscript","");
    1.74  	lineEditPostScript->setText (postscript);	
    1.75  
    1.76  	if (!prescript.isEmpty() || !postscript.isEmpty())
    1.77 @@ -251,38 +251,38 @@
    1.78  	// Save options to settings file 
    1.79  	// (but don't save at destructor, which
    1.80  	// is called for "cancel", too)
    1.81 -	settings.setLocalEntry (filepath,"/vym/export/xhtml/exportDir",dir);
    1.82 -	settings.setLocalEntry (filepath,"/vym/export/xhtml/prescript",prescript);
    1.83 -	settings.setLocalEntry (filepath,"/vym/export/xhtml/postscript",postscript);
    1.84 +	settings.setLocalEntry (filepath,"/export/xhtml/exportDir",dir);
    1.85 +	settings.setLocalEntry (filepath,"/export/xhtml/prescript",prescript);
    1.86 +	settings.setLocalEntry (filepath,"/export/xhtml/postscript",postscript);
    1.87  
    1.88      if (useImage)
    1.89 -		settings.setLocalEntry (filepath,"/vym/export/xhtml/useImage","yes");
    1.90 +		settings.setLocalEntry (filepath,"/export/xhtml/useImage","yes");
    1.91      else
    1.92 -		settings.setLocalEntry (filepath,"/vym/export/xhtml/useImage","no");	
    1.93 +		settings.setLocalEntry (filepath,"/export/xhtml/useImage","no");	
    1.94  	
    1.95    if (useTextColor)
    1.96 -		settings.setLocalEntry (filepath,"/vym/export/xhtml/useTextColor","yes");
    1.97 +		settings.setLocalEntry (filepath,"/export/xhtml/useTextColor","yes");
    1.98      else
    1.99 -		settings.setLocalEntry (filepath,"/vym/export/xhtml/useTextColor","no");	
   1.100 +		settings.setLocalEntry (filepath,"/export/xhtml/useTextColor","no");	
   1.101  	
   1.102     if (showWarnings)
   1.103 -		settings.writeEntry ("/vym/export/xhtml/showWarnings","yes");
   1.104 +		settings.writeEntry ("/export/xhtml/showWarnings","yes");
   1.105      else
   1.106 -		settings.writeEntry ("/vym/export/xhtml/showWarnings","no");	
   1.107 +		settings.writeEntry ("/export/xhtml/showWarnings","no");	
   1.108  			
   1.109  	if (showOutput)
   1.110 -		settings.writeEntry ("/vym/export/xhtml/showOutput","yes");
   1.111 +		settings.writeEntry ("/export/xhtml/showOutput","yes");
   1.112  	else
   1.113 -		settings.writeEntry ("/vym/export/xhtml/showOutput","no");	
   1.114 +		settings.writeEntry ("/export/xhtml/showOutput","no");	
   1.115  
   1.116  	QString ipath;	
   1.117  	ipath=vymBaseDir.path()+"/flags/flag-url-16x16.png";
   1.118  	if (!options.isOn ("local"))
   1.119  	{
   1.120  		settings.setLocalEntry 
   1.121 -			(filepath,"/vym/export/xhtml/xsl",xsl);
   1.122 +			(filepath,"/export/xhtml/xsl",xsl);
   1.123  		settings.setLocalEntry 
   1.124 -			(filepath,"/vym/export/xhtml/css",css);	
   1.125 +			(filepath,"/export/xhtml/css",css);	
   1.126  	}
   1.127  
   1.128  	// Provide a smaller URL-icon to improve Layout
   1.129 @@ -294,10 +294,10 @@
   1.130  	if(!pm.save (dir + "flags/flag-url-16x16.png","PNG"))
   1.131  		QMessageBox::warning( 0, tr( "Warning" ),tr("Could not write %1").arg(ipath));
   1.132  	if (!saveSettingsInMap)
   1.133 -		settings.clearLocal("/vym/export/xhtml");
   1.134 +		settings.clearLocal("/export/xhtml");
   1.135  	else	
   1.136  		settings.setLocalEntry 
   1.137 -			(filepath,"/vym/export/xhtml/saveSettingsInMap","yes");
   1.138 +			(filepath,"/export/xhtml/saveSettingsInMap","yes");
   1.139  
   1.140  	// Copy CSS file
   1.141  	QFile css_src (css);