summaryrefslogtreecommitdiffstats
path: root/tdeutils/tdecmoduleproxy.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2014-11-27 11:51:59 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2014-11-27 11:51:59 +0900
commit01d88b2886ada398c883a44410827b11b907e512 (patch)
treea293fc2e5c18385408a922ea6544052b9b9bb103 /tdeutils/tdecmoduleproxy.cpp
parentd4b2ca0550eeacd278c638664b43464239342244 (diff)
downloadtdelibs-01d88b2886ada398c883a44410827b11b907e512.tar.gz
tdelibs-01d88b2886ada398c883a44410827b11b907e512.zip
Added support for handbookDocPath(). This relates to bug 1850.
Diffstat (limited to 'tdeutils/tdecmoduleproxy.cpp')
-rw-r--r--tdeutils/tdecmoduleproxy.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/tdeutils/tdecmoduleproxy.cpp b/tdeutils/tdecmoduleproxy.cpp
index 75da38e02..d074b8c02 100644
--- a/tdeutils/tdecmoduleproxy.cpp
+++ b/tdeutils/tdecmoduleproxy.cpp
@@ -598,6 +598,18 @@ const TDEAboutData * TDECModuleProxy::aboutData() const
}
}
+TQString TDECModuleProxy::handbookDocPath() const
+{
+ if( !d->rootMode ) {
+ return realModule() ? realModule()->handbookDocPath() : TQString::null;
+ }
+ else {
+ /* This needs fixing, perhaps cache a handbookSection() copy
+ * while in root mode? */
+ return TQString::null;
+ }
+}
+
TQString TDECModuleProxy::handbookSection() const
{
if( !d->rootMode ) {