@ -1161,7 +1161,7 @@ void QuantaApp::slotOptions()
KDialogBase : : Ok , this , " tabdialog " ) ;
KDialogBase : : Ok , this , " tabdialog " ) ;
// Tag Style options
// Tag Style options
TQVBox * page = kd - > addVBoxPage ( i18n ( " Tag Style " ) , TQString ( ) , BarIcon ( " kwrite " , K Icon: : SizeMedium ) ) ;
TQVBox * page = kd - > addVBoxPage ( i18n ( " Tag Style " ) , TQString ( ) , BarIcon ( " kwrite " , TDE Icon: : SizeMedium ) ) ;
StyleOptionsS * styleOptionsS = new StyleOptionsS ( ( TQWidget * ) page ) ;
StyleOptionsS * styleOptionsS = new StyleOptionsS ( ( TQWidget * ) page ) ;
styleOptionsS - > tagCase - > setCurrentItem ( qConfig . tagCase ) ;
styleOptionsS - > tagCase - > setCurrentItem ( qConfig . tagCase ) ;
@ -1175,7 +1175,7 @@ void QuantaApp::slotOptions()
// Environment options
// Environment options
//TODO FileMasks name is not good anymore
//TODO FileMasks name is not good anymore
page = kd - > addVBoxPage ( i18n ( " Environment " ) , TQString ( ) , UserIcon ( " files " , K Icon: : SizeMedium ) ) ;
page = kd - > addVBoxPage ( i18n ( " Environment " ) , TQString ( ) , UserIcon ( " files " , TDE Icon: : SizeMedium ) ) ;
FileMasks * fileMasks = new FileMasks ( ( TQWidget * ) page ) ;
FileMasks * fileMasks = new FileMasks ( ( TQWidget * ) page ) ;
fileMasks - > lineMarkup - > setText ( qConfig . markupMimeTypes ) ;
fileMasks - > lineMarkup - > setText ( qConfig . markupMimeTypes ) ;
@ -1215,7 +1215,7 @@ void QuantaApp::slotOptions()
fileMasks - > defaultDTDCombo - > setCurrentItem ( pos ) ;
fileMasks - > defaultDTDCombo - > setCurrentItem ( pos ) ;
// Preview options
// Preview options
page = kd - > addVBoxPage ( i18n ( " User Interface " ) , TQString ( ) , BarIcon ( " view_choose " , K Icon: : SizeMedium ) ) ;
page = kd - > addVBoxPage ( i18n ( " User Interface " ) , TQString ( ) , BarIcon ( " view_choose " , TDE Icon: : SizeMedium ) ) ;
PreviewOptions * uiOptions = new PreviewOptions ( ( TQWidget * ) page ) ;
PreviewOptions * uiOptions = new PreviewOptions ( ( TQWidget * ) page ) ;
uiOptions - > setPosition ( qConfig . previewPosition ) ;
uiOptions - > setPosition ( qConfig . previewPosition ) ;
@ -1238,10 +1238,10 @@ void QuantaApp::slotOptions()
uiOptions - > warnEventActions - > setChecked ( true ) ;
uiOptions - > warnEventActions - > setChecked ( true ) ;
}
}
//kafka options
//kafka options
page = kd - > addVBoxPage ( i18n ( " VPL View " ) , TQString ( ) , UserIcon ( " vpl_text " , K Icon: : SizeMedium ) ) ;
page = kd - > addVBoxPage ( i18n ( " VPL View " ) , TQString ( ) , UserIcon ( " vpl_text " , TDE Icon: : SizeMedium ) ) ;
KafkaSyncOptions * kafkaOptions = new KafkaSyncOptions ( m_config , ( TQWidget * ) page ) ;
KafkaSyncOptions * kafkaOptions = new KafkaSyncOptions ( m_config , ( TQWidget * ) page ) ;
page = kd - > addVBoxPage ( i18n ( " Parser " ) , TQString ( ) , BarIcon ( " kcmsystem " , K Icon: : SizeMedium ) ) ;
page = kd - > addVBoxPage ( i18n ( " Parser " ) , TQString ( ) , BarIcon ( " kcmsystem " , TDE Icon: : SizeMedium ) ) ;
ParserOptions * parserOptions = new ParserOptions ( m_config , ( TQWidget * ) page ) ;
ParserOptions * parserOptions = new ParserOptions ( m_config , ( TQWidget * ) page ) ;
parserOptions - > refreshFrequency - > setValue ( qConfig . refreshFrequency ) ;
parserOptions - > refreshFrequency - > setValue ( qConfig . refreshFrequency ) ;
@ -1250,7 +1250,7 @@ void QuantaApp::slotOptions()
parserOptions - > showClosingTags - > setChecked ( qConfig . showClosingTags ) ;
parserOptions - > showClosingTags - > setChecked ( qConfig . showClosingTags ) ;
parserOptions - > spinExpand - > setValue ( qConfig . expandLevel ) ;
parserOptions - > spinExpand - > setValue ( qConfig . expandLevel ) ;
page = kd - > addVBoxPage ( i18n ( " Abbreviations " ) , TQString ( ) , BarIcon ( " fontsizeup " , K Icon: : SizeMedium ) ) ;
page = kd - > addVBoxPage ( i18n ( " Abbreviations " ) , TQString ( ) , BarIcon ( " fontsizeup " , TDE Icon: : SizeMedium ) ) ;
AbbreviationDlg * abbreviationOptions = new AbbreviationDlg ( ( TQWidget * ) ( page ) ) ;
AbbreviationDlg * abbreviationOptions = new AbbreviationDlg ( ( TQWidget * ) ( page ) ) ;
bool reloadTrees = false ;
bool reloadTrees = false ;
@ -3306,7 +3306,7 @@ bool QuantaApp::slotRemoveToolbar(const TQString& a_name)
FourButtonMessageBox dlg ( this , 0 , true ) ;
FourButtonMessageBox dlg ( this , 0 , true ) ;
dlg . textLabel - > setText ( i18n ( " <qt>The toolbar <b>%1</b> was modified. Do you want to save it before it is removed?</qt> " ) . arg ( p_toolbar - > name ) ) ;
dlg . textLabel - > setText ( i18n ( " <qt>The toolbar <b>%1</b> was modified. Do you want to save it before it is removed?</qt> " ) . arg ( p_toolbar - > name ) ) ;
dlg . setCaption ( i18n ( " Save Toolbar " ) ) ;
dlg . setCaption ( i18n ( " Save Toolbar " ) ) ;
dlg . pixmapLabel - > setPixmap ( BarIcon ( " messagebox_info " , K Icon: : SizeMedium ) ) ;
dlg . pixmapLabel - > setPixmap ( BarIcon ( " messagebox_info " , TDE Icon: : SizeMedium ) ) ;
dlg . exec ( ) ;
dlg . exec ( ) ;
result = dlg . status ( ) ;
result = dlg . status ( ) ;
switch ( result )
switch ( result )