From 1bd907fe3d97323c96d7b4a385207dfd8f7a8931 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 24 Nov 2014 18:52:20 +0900 Subject: Fixed help handbook sections for System Administration. This relates to bug 1850. --- kcontrol/displayconfig/displayconfig.cpp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'kcontrol/displayconfig/displayconfig.cpp') diff --git a/kcontrol/displayconfig/displayconfig.cpp b/kcontrol/displayconfig/displayconfig.cpp index 835b2598b..dacb5cc88 100644 --- a/kcontrol/displayconfig/displayconfig.cpp +++ b/kcontrol/displayconfig/displayconfig.cpp @@ -2034,6 +2034,23 @@ void KDisplayConfig::defaults() load( true ); } +TQString KDisplayConfig::handbookSection() const +{ + int index = base->mainTabContainerWidget->currentPageIndex(); + if (index == 0) + return "displayconfig-global"; + else if (index == 1) + return "displayconfig-resolution"; + else if (index == 2) + return "displayconfig-brightness"; + else if (index == 3) + return "displayconfig-power"; + else if (index == 4) + return "displayconfig-colors"; + else + return TQString::null; +} + TQString KDisplayConfig::quickHelp() const { return i18n("

Monitor & Display Configuration

This module allows you to configure monitors attached to your" -- cgit v1.2.1