summaryrefslogtreecommitdiffstats
path: root/libkcddb/kcmcddb/kcmcddb.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2014-11-20 13:38:16 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2014-11-20 13:38:16 +0900
commitf059b01e2c8c5c8da540c3188b7cba18fac1a6e9 (patch)
tree5c77d1cd18671a8f90d96bc671e02d892f0f0b60 /libkcddb/kcmcddb/kcmcddb.cpp
parent9a0d522f7f54f69f4b04c810613b74192911441d (diff)
downloadtdemultimedia-f059b01e2c8c5c8da540c3188b7cba18fac1a6e9.tar.gz
tdemultimedia-f059b01e2c8c5c8da540c3188b7cba18fac1a6e9.zip
Fixed help handbook sections for Sound & Multimedia -> AudioCDs / CDDB Retrieval. This relates to bug 1850.
Diffstat (limited to 'libkcddb/kcmcddb/kcmcddb.cpp')
-rw-r--r--libkcddb/kcmcddb/kcmcddb.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/libkcddb/kcmcddb/kcmcddb.cpp b/libkcddb/kcmcddb/kcmcddb.cpp
index 8dc35a3e..62e043b4 100644
--- a/libkcddb/kcmcddb/kcmcddb.cpp
+++ b/libkcddb/kcmcddb/kcmcddb.cpp
@@ -27,6 +27,7 @@
#include <tqlistbox.h>
#include <tqlabel.h>
#include <tqbuttongroup.h>
+#include <tqtabwidget.h>
#include <tdeconfig.h>
#include <tdelocale.h>
@@ -127,6 +128,18 @@ CDDBModule::load()
updateWidgetsFromConfig(config);
}
+TQString CDDBModule::handbookSection() const
+{
+ int index = widget_->tabWidget2->currentPageIndex();
+ if (index == 0)
+ return "cddb-lookup";
+ else if (index == 1)
+ return "cddb-submit";
+ else
+ return TQString::null;
+}
+
+
// vim:tabstop=2:shiftwidth=2:expandtab:cinoptions=(s,U1,m1
#include "kcmcddb.moc"