summaryrefslogtreecommitdiffstats
path: root/tdeioslave/audiocd/kcmaudiocd
diff options
context:
space:
mode:
Diffstat (limited to 'tdeioslave/audiocd/kcmaudiocd')
-rw-r--r--tdeioslave/audiocd/kcmaudiocd/kcmaudiocd.cpp11
-rw-r--r--tdeioslave/audiocd/kcmaudiocd/kcmaudiocd.h3
2 files changed, 13 insertions, 1 deletions
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();