Add Help buttons to kcontrol module dialogs in support of bug report 1889.

pull/2/head
Darrell Anderson 10 years ago
parent 0ab13832d9
commit aa2e33341b

@ -141,7 +141,7 @@ void KArtsModule::slotProcessArtsdOutput(TDEProcess*, char* buf, int len)
KArtsModule::KArtsModule(TQWidget *parent, const char *name) KArtsModule::KArtsModule(TQWidget *parent, const char *name)
: TDECModule(parent, name), configChanged(false) : TDECModule(parent, name), configChanged(false)
{ {
setButtons(Default|Apply); setButtons(Default|Apply|Help);
setQuickHelp( i18n("<h1>Sound System</h1> Here you can configure aRts, TDE's sound server." setQuickHelp( i18n("<h1>Sound System</h1> Here you can configure aRts, TDE's sound server."
" This program not only allows you to hear your system sounds while simultaneously" " This program not only allows you to hear your system sounds while simultaneously"

@ -97,7 +97,7 @@ joystick::joystick(TQWidget *parent, const char *name, const TQStringList &)
setMinimumSize(joyWidget->minimumSize()); setMinimumSize(joyWidget->minimumSize());
setButtons(TDECModule::Default); setButtons(TDECModule::Default|TDECModule::Help);
} }
//--------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------

@ -45,7 +45,7 @@ KCMFilter::KCMFilter(TDEConfig *config, TQString group,
mGroupname( group ), mGroupname( group ),
mSelCount(0) mSelCount(0)
{ {
setButtons(Default|Apply); setButtons(Default|Apply|Help);
TQVBoxLayout *topLayout = new TQVBoxLayout(this, 0, KDialog::spacingHint()); TQVBoxLayout *topLayout = new TQVBoxLayout(this, 0, KDialog::spacingHint());

@ -169,7 +169,7 @@ CKCmFontInst::CKCmFontInst(TQWidget *parent, const char *, const TQStringList&)
#endif #endif
layout->addWidget(itsStatusLabel); layout->addWidget(itsStatusLabel);
setButtons(0); setButtons(Default|Apply|Help);
setRootOnlyMsg(i18n("<b>The fonts shown are your personal fonts.</b><br>To see (and install) " setRootOnlyMsg(i18n("<b>The fonts shown are your personal fonts.</b><br>To see (and install) "
"system-wide fonts, click on the \"Administrator Mode\" button below.")); "system-wide fonts, click on the \"Administrator Mode\" button below."));
setUseRootOnlyMsg(true); setUseRootOnlyMsg(true);

@ -44,7 +44,7 @@ extern "C"
KCMCgi::KCMCgi(TQWidget *parent, const char *name) KCMCgi::KCMCgi(TQWidget *parent, const char *name)
: TDECModule(parent, name) : TDECModule(parent, name)
{ {
setButtons(Default|Apply); setButtons(Default|Apply|Help);
TQVBoxLayout *topLayout = new TQVBoxLayout(this, 0, KDialog::spacingHint()); TQVBoxLayout *topLayout = new TQVBoxLayout(this, 0, KDialog::spacingHint());

@ -33,7 +33,7 @@ K_EXPORT_COMPONENT_FACTORY( kcm_printmgr, KPrintMgrFactory("kcmprintmgr") )
KCMPrintMgr::KCMPrintMgr(TQWidget *parent, const char *name, const TQStringList &) KCMPrintMgr::KCMPrintMgr(TQWidget *parent, const char *name, const TQStringList &)
: TDECModule(KPrintMgrFactory::instance(),parent,name) : TDECModule(KPrintMgrFactory::instance(),parent,name)
{ {
setButtons(TDECModule::Ok); setButtons(TDECModule::Default|TDECModule::Help);
setRootOnlyMsg( i18n( setRootOnlyMsg( i18n(
"Print management as normal user\n" "Print management as normal user\n"
"Some print management operations may need administrator privileges. Use the\n" "Some print management operations may need administrator privileges. Use the\n"

Loading…
Cancel
Save