|
|
@ -169,8 +169,8 @@ KCHMSetupDialog::KCHMSetupDialog( TQWidget* parent, const char* name, bool modal
|
|
|
|
m_radioUseQtextBrowser = new TQRadioButton( buttonGroup5_2, "m_radioUseQtextBrowser" );
|
|
|
|
m_radioUseQtextBrowser = new TQRadioButton( buttonGroup5_2, "m_radioUseQtextBrowser" );
|
|
|
|
buttonGroup5_2Layout->addWidget( m_radioUseQtextBrowser );
|
|
|
|
buttonGroup5_2Layout->addWidget( m_radioUseQtextBrowser );
|
|
|
|
|
|
|
|
|
|
|
|
m_radioUseKHTMLPart = new TQRadioButton( buttonGroup5_2, "m_radioUseKHTMLPart" );
|
|
|
|
m_radioUseTDEHTMLPart = new TQRadioButton( buttonGroup5_2, "m_radioUseTDEHTMLPart" );
|
|
|
|
buttonGroup5_2Layout->addWidget( m_radioUseKHTMLPart );
|
|
|
|
buttonGroup5_2Layout->addWidget( m_radioUseTDEHTMLPart );
|
|
|
|
m_groupKDEsettingsLayout->addWidget( buttonGroup5_2 );
|
|
|
|
m_groupKDEsettingsLayout->addWidget( buttonGroup5_2 );
|
|
|
|
|
|
|
|
|
|
|
|
groupKhtmlSecurity = new TQGroupBox( m_groupKDEsettings, "groupKhtmlSecurity" );
|
|
|
|
groupKhtmlSecurity = new TQGroupBox( m_groupKDEsettings, "groupKhtmlSecurity" );
|
|
|
@ -279,7 +279,7 @@ KCHMSetupDialog::KCHMSetupDialog( TQWidget* parent, const char* name, bool modal
|
|
|
|
// signals and slots connections
|
|
|
|
// signals and slots connections
|
|
|
|
connect( buttonOk, TQT_SIGNAL( clicked() ), this, TQT_SLOT( accept() ) );
|
|
|
|
connect( buttonOk, TQT_SIGNAL( clicked() ), this, TQT_SLOT( accept() ) );
|
|
|
|
connect( buttonCancel, TQT_SIGNAL( clicked() ), this, TQT_SLOT( reject() ) );
|
|
|
|
connect( buttonCancel, TQT_SIGNAL( clicked() ), this, TQT_SLOT( reject() ) );
|
|
|
|
connect( m_radioUseKHTMLPart, TQT_SIGNAL( toggled(bool) ), groupKhtmlSecurity, TQT_SLOT( setEnabled(bool) ) );
|
|
|
|
connect( m_radioUseTDEHTMLPart, TQT_SIGNAL( toggled(bool) ), groupKhtmlSecurity, TQT_SLOT( setEnabled(bool) ) );
|
|
|
|
connect( m_advViewSourceExternal, TQT_SIGNAL( toggled(bool) ), m_advExternalProgramName, TQT_SLOT( setEnabled(bool) ) );
|
|
|
|
connect( m_advViewSourceExternal, TQT_SIGNAL( toggled(bool) ), m_advExternalProgramName, TQT_SLOT( setEnabled(bool) ) );
|
|
|
|
connect( m_radioUseQtextBrowser, TQT_SIGNAL( toggled(bool) ), groupKhtmlSecurity, TQT_SLOT( setDisabled(bool) ) );
|
|
|
|
connect( m_radioUseQtextBrowser, TQT_SIGNAL( toggled(bool) ), groupKhtmlSecurity, TQT_SLOT( setDisabled(bool) ) );
|
|
|
|
|
|
|
|
|
|
|
@ -300,8 +300,8 @@ KCHMSetupDialog::KCHMSetupDialog( TQWidget* parent, const char* name, bool modal
|
|
|
|
setTabOrder( m_radioNewChmAsk, m_radioNewChmOpenNever );
|
|
|
|
setTabOrder( m_radioNewChmAsk, m_radioNewChmOpenNever );
|
|
|
|
setTabOrder( m_radioNewChmOpenNever, m_qtBrowserPath );
|
|
|
|
setTabOrder( m_radioNewChmOpenNever, m_qtBrowserPath );
|
|
|
|
setTabOrder( m_qtBrowserPath, m_radioUseQtextBrowser );
|
|
|
|
setTabOrder( m_qtBrowserPath, m_radioUseQtextBrowser );
|
|
|
|
setTabOrder( m_radioUseQtextBrowser, m_radioUseKHTMLPart );
|
|
|
|
setTabOrder( m_radioUseQtextBrowser, m_radioUseTDEHTMLPart );
|
|
|
|
setTabOrder( m_radioUseKHTMLPart, m_enableJS );
|
|
|
|
setTabOrder( m_radioUseTDEHTMLPart, m_enableJS );
|
|
|
|
setTabOrder( m_enableJS, m_enablePlugins );
|
|
|
|
setTabOrder( m_enableJS, m_enablePlugins );
|
|
|
|
setTabOrder( m_enablePlugins, m_enableJava );
|
|
|
|
setTabOrder( m_enablePlugins, m_enableJava );
|
|
|
|
setTabOrder( m_enableJava, m_enableRefresh );
|
|
|
|
setTabOrder( m_enableJava, m_enableRefresh );
|
|
|
@ -355,9 +355,9 @@ void KCHMSetupDialog::languageChange()
|
|
|
|
buttonGroup5_2->setTitle( tr( "To show HTML content, use" ) );
|
|
|
|
buttonGroup5_2->setTitle( tr( "To show HTML content, use" ) );
|
|
|
|
m_radioUseQtextBrowser->setText( tr( "&TQTextBrowser-based widget" ) );
|
|
|
|
m_radioUseQtextBrowser->setText( tr( "&TQTextBrowser-based widget" ) );
|
|
|
|
m_radioUseQtextBrowser->setAccel( TQKeySequence( tr( "Alt+Q" ) ) );
|
|
|
|
m_radioUseQtextBrowser->setAccel( TQKeySequence( tr( "Alt+Q" ) ) );
|
|
|
|
m_radioUseKHTMLPart->setText( tr( "&KHTMLPart-based widget" ) );
|
|
|
|
m_radioUseTDEHTMLPart->setText( tr( "&TDEHTMLPart-based widget" ) );
|
|
|
|
m_radioUseKHTMLPart->setAccel( TQKeySequence( tr( "Alt+K" ) ) );
|
|
|
|
m_radioUseTDEHTMLPart->setAccel( TQKeySequence( tr( "Alt+K" ) ) );
|
|
|
|
groupKhtmlSecurity->setTitle( tr( "KHTMLPart security" ) );
|
|
|
|
groupKhtmlSecurity->setTitle( tr( "TDEHTMLPart security" ) );
|
|
|
|
m_enableJS->setText( tr( "Enable Java&Script" ) );
|
|
|
|
m_enableJS->setText( tr( "Enable Java&Script" ) );
|
|
|
|
m_enableJS->setAccel( TQKeySequence( tr( "Alt+S" ) ) );
|
|
|
|
m_enableJS->setAccel( TQKeySequence( tr( "Alt+S" ) ) );
|
|
|
|
m_enablePlugins->setText( tr( "Enable &plugins" ) );
|
|
|
|
m_enablePlugins->setText( tr( "Enable &plugins" ) );
|
|
|
@ -387,9 +387,9 @@ void KCHMSetupDialog::languageChange()
|
|
|
|
buttonCancel->setAccel( TQKeySequence( TQString() ) );
|
|
|
|
buttonCancel->setAccel( TQKeySequence( TQString() ) );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void KCHMSetupDialog::m_radioUseKHTMLPart_toggled(bool)
|
|
|
|
void KCHMSetupDialog::m_radioUseTDEHTMLPart_toggled(bool)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
tqWarning( "KCHMSetupDialog::m_radioUseKHTMLPart_toggled(bool): Not implemented yet" );
|
|
|
|
tqWarning( "KCHMSetupDialog::m_radioUseTDEHTMLPart_toggled(bool): Not implemented yet" );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#include "kchmsetupdialog.moc"
|
|
|
|
#include "kchmsetupdialog.moc"
|
|
|
|