summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tdelirc/kcmlirc/kcmlirc.cpp12
-rw-r--r--tdelirc/kcmlirc/kcmlirc.h1
2 files changed, 13 insertions, 0 deletions
diff --git a/tdelirc/kcmlirc/kcmlirc.cpp b/tdelirc/kcmlirc/kcmlirc.cpp
index bf18895..e1f35e3 100644
--- a/tdelirc/kcmlirc/kcmlirc.cpp
+++ b/tdelirc/kcmlirc/kcmlirc.cpp
@@ -16,6 +16,7 @@
#include <tqcombobox.h>
#include <tqevent.h>
#include <tqlistview.h>
+#include <tqtabwidget.h>
#include <kpushbutton.h>
#include <tdeapplication.h>
@@ -525,6 +526,17 @@ void KCMLirc::save()
emit changed(true);
}
+TQString KCMLirc::handbookDocPath() const
+{
+ int index = theKCMLircBase->tabWidget2->currentPageIndex();
+ if (index == 0)
+ return "kcmlirc/usage.html";
+ else if (index == 1)
+ return "kcmlirc/extensions.html";
+ else
+ return TQString::null;
+}
+
void KCMLirc::configChanged()
{
// insert your saving code here...
diff --git a/tdelirc/kcmlirc/kcmlirc.h b/tdelirc/kcmlirc/kcmlirc.h
index 207c995..c187642 100644
--- a/tdelirc/kcmlirc/kcmlirc.h
+++ b/tdelirc/kcmlirc/kcmlirc.h
@@ -77,6 +77,7 @@ public:
virtual void save();
virtual void defaults();
virtual void configChanged();
+ virtual TQString handbookDocPath() const;
KCMLirc(TQWidget *parent = 0, const char *name = 0, TQStringList args = TQStringList());
~KCMLirc();