diff options
Diffstat (limited to 'tdelirc/kcmlirc/kcmlirc.cpp')
-rw-r--r-- | tdelirc/kcmlirc/kcmlirc.cpp | 12 |
1 files changed, 12 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... |