From f059b01e2c8c5c8da540c3188b7cba18fac1a6e9 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 20 Nov 2014 13:38:16 +0900 Subject: Fixed help handbook sections for Sound & Multimedia -> AudioCDs / CDDB Retrieval. This relates to bug 1850. --- tdeioslave/audiocd/kcmaudiocd/kcmaudiocd.cpp | 11 +++++++++++ tdeioslave/audiocd/kcmaudiocd/kcmaudiocd.h | 3 ++- 2 files changed, 13 insertions(+), 1 deletion(-) (limited to 'tdeioslave/audiocd/kcmaudiocd') diff --git a/tdeioslave/audiocd/kcmaudiocd/kcmaudiocd.cpp b/tdeioslave/audiocd/kcmaudiocd/kcmaudiocd.cpp index 8e73ce26..1954422c 100644 --- a/tdeioslave/audiocd/kcmaudiocd/kcmaudiocd.cpp +++ b/tdeioslave/audiocd/kcmaudiocd/kcmaudiocd.cpp @@ -216,6 +216,17 @@ void KAudiocdModule::load(bool useDefaults) { emit changed( useDefaults ); } +TQString KAudiocdModule::handbookSection() const +{ + int index = tabWidget->currentPageIndex(); + if (index == 0) + return "audiocd-general"; + else if (index == 1) + return "audiocd-names"; + else + return TQString::null; +} + void KAudiocdModule::slotModuleChanged() { TDEConfigDialogManager *widget; for ( widget = encoderSettings.first(); widget; widget = encoderSettings.next() ){ diff --git a/tdeioslave/audiocd/kcmaudiocd/kcmaudiocd.h b/tdeioslave/audiocd/kcmaudiocd/kcmaudiocd.h index c9ec1bc7..f89ef32f 100644 --- a/tdeioslave/audiocd/kcmaudiocd/kcmaudiocd.h +++ b/tdeioslave/audiocd/kcmaudiocd/kcmaudiocd.h @@ -46,7 +46,8 @@ public slots: void save(); void load(); void load(bool useDefaults); - + virtual TQString handbookSection() const; + private slots: void updateExample(); void slotConfigChanged(); -- cgit v1.2.1