diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2014-02-17 17:59:37 -0600 |
---|---|---|
committer | Darrell Anderson <humanreadable@yahoo.com> | 2014-02-17 17:59:37 -0600 |
commit | aa2e33341bfddf87263cf3bf87061b56d7b2fe87 (patch) | |
tree | b65abea99d1f924ffab089f2680e32b4b529990b | |
parent | 0ab13832d906700dee2fedf3a88a542cc6cf7ddf (diff) | |
download | tdebase-aa2e33341bfddf87263cf3bf87061b56d7b2fe87.tar.gz tdebase-aa2e33341bfddf87263cf3bf87061b56d7b2fe87.zip |
Add Help buttons to kcontrol module dialogs in support of bug report 1889.
-rw-r--r-- | kcontrol/arts/arts.cpp | 2 | ||||
-rw-r--r-- | kcontrol/joystick/joystick.cpp | 2 | ||||
-rw-r--r-- | kcontrol/konqhtml/filteropts.cpp | 2 | ||||
-rw-r--r-- | kcontrol/tdefontinst/kcmfontinst/KCmFontInst.cpp | 2 | ||||
-rw-r--r-- | tdeioslave/cgi/kcmcgi/kcmcgi.cpp | 2 | ||||
-rw-r--r-- | tdeprint/printmgr/kcmprintmgr.cpp | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/kcontrol/arts/arts.cpp b/kcontrol/arts/arts.cpp index d2428783b..02e8af03c 100644 --- a/kcontrol/arts/arts.cpp +++ b/kcontrol/arts/arts.cpp @@ -141,7 +141,7 @@ void KArtsModule::slotProcessArtsdOutput(TDEProcess*, char* buf, int len) KArtsModule::KArtsModule(TQWidget *parent, const char *name) : 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." " This program not only allows you to hear your system sounds while simultaneously" diff --git a/kcontrol/joystick/joystick.cpp b/kcontrol/joystick/joystick.cpp index 009795db0..69e81b79b 100644 --- a/kcontrol/joystick/joystick.cpp +++ b/kcontrol/joystick/joystick.cpp @@ -97,7 +97,7 @@ joystick::joystick(TQWidget *parent, const char *name, const TQStringList &) setMinimumSize(joyWidget->minimumSize()); - setButtons(TDECModule::Default); + setButtons(TDECModule::Default|TDECModule::Help); } //--------------------------------------------------------------------------------------------- diff --git a/kcontrol/konqhtml/filteropts.cpp b/kcontrol/konqhtml/filteropts.cpp index 3ae9091a0..9a2ae9efe 100644 --- a/kcontrol/konqhtml/filteropts.cpp +++ b/kcontrol/konqhtml/filteropts.cpp @@ -45,7 +45,7 @@ KCMFilter::KCMFilter(TDEConfig *config, TQString group, mGroupname( group ), mSelCount(0) { - setButtons(Default|Apply); + setButtons(Default|Apply|Help); TQVBoxLayout *topLayout = new TQVBoxLayout(this, 0, KDialog::spacingHint()); diff --git a/kcontrol/tdefontinst/kcmfontinst/KCmFontInst.cpp b/kcontrol/tdefontinst/kcmfontinst/KCmFontInst.cpp index cbe8eed5f..7004f0ae5 100644 --- a/kcontrol/tdefontinst/kcmfontinst/KCmFontInst.cpp +++ b/kcontrol/tdefontinst/kcmfontinst/KCmFontInst.cpp @@ -169,7 +169,7 @@ CKCmFontInst::CKCmFontInst(TQWidget *parent, const char *, const TQStringList&) #endif 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) " "system-wide fonts, click on the \"Administrator Mode\" button below.")); setUseRootOnlyMsg(true); diff --git a/tdeioslave/cgi/kcmcgi/kcmcgi.cpp b/tdeioslave/cgi/kcmcgi/kcmcgi.cpp index 70eec4d4d..a4297969e 100644 --- a/tdeioslave/cgi/kcmcgi/kcmcgi.cpp +++ b/tdeioslave/cgi/kcmcgi/kcmcgi.cpp @@ -44,7 +44,7 @@ extern "C" KCMCgi::KCMCgi(TQWidget *parent, const char *name) : TDECModule(parent, name) { - setButtons(Default|Apply); + setButtons(Default|Apply|Help); TQVBoxLayout *topLayout = new TQVBoxLayout(this, 0, KDialog::spacingHint()); diff --git a/tdeprint/printmgr/kcmprintmgr.cpp b/tdeprint/printmgr/kcmprintmgr.cpp index 75fc42742..27629ed26 100644 --- a/tdeprint/printmgr/kcmprintmgr.cpp +++ b/tdeprint/printmgr/kcmprintmgr.cpp @@ -33,7 +33,7 @@ K_EXPORT_COMPONENT_FACTORY( kcm_printmgr, KPrintMgrFactory("kcmprintmgr") ) KCMPrintMgr::KCMPrintMgr(TQWidget *parent, const char *name, const TQStringList &) : TDECModule(KPrintMgrFactory::instance(),parent,name) { - setButtons(TDECModule::Ok); + setButtons(TDECModule::Default|TDECModule::Help); setRootOnlyMsg( i18n( "Print management as normal user\n" "Some print management operations may need administrator privileges. Use the\n" |