summaryrefslogtreecommitdiffstats
path: root/tdeui
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-03 18:45:41 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-03 18:45:41 -0500
commit319f69a280df213c70a2bf18d999d29641d45fc7 (patch)
tree5dc34f527722d76a6df0452f5b7dabb017abbe25 /tdeui
parentcc5fd88be313142d3996c81f8bdfc1290485858c (diff)
downloadtdelibs-319f69a280df213c70a2bf18d999d29641d45fc7.tar.gz
tdelibs-319f69a280df213c70a2bf18d999d29641d45fc7.zip
Add new handbookSection() method to the TDECModule class
This relates to Bug 1850
Diffstat (limited to 'tdeui')
-rw-r--r--tdeui/tdecmodule.cpp4
-rw-r--r--tdeui/tdecmodule.h11
2 files changed, 14 insertions, 1 deletions
diff --git a/tdeui/tdecmodule.cpp b/tdeui/tdecmodule.cpp
index c6b7d3726..1c718273a 100644
--- a/tdeui/tdecmodule.cpp
+++ b/tdeui/tdecmodule.cpp
@@ -208,6 +208,10 @@ TQString TDECModule::quickHelp() const
return d->_quickHelp;
}
+TQString TDECModule::handbookSection() const
+{
+ return TQString::null;
+}
const TQPtrList<TDEConfigDialogManager>& TDECModule::configs() const
{
diff --git a/tdeui/tdecmodule.h b/tdeui/tdecmodule.h
index ccaaa8fd5..b4d7f6d88 100644
--- a/tdeui/tdecmodule.h
+++ b/tdeui/tdecmodule.h
@@ -178,6 +178,15 @@ public:
virtual TQString quickHelp() const;
/**
+ * If a specific handbook section is relevant to the currently displayed content
+ * (for example tabbed control center modules) this method returns the relevant section name
+ *
+ * @note this string must match the handbook HTML section name exactly
+ * @returns a TQString containing the relevant handbook section name or TQString::null if no specific section is relevant
+ */
+ virtual TQString handbookSection() const;
+
+ /**
* This is generally only called for the KBugReport.
* If you override you should have it return a pointer to a constant.
*
@@ -185,7 +194,7 @@ public:
* @returns the TDEAboutData for this module
*/
virtual const TDEAboutData *aboutData() const;
-
+
/**
* This sets the TDEAboutData returned by aboutData()
* @since 3.3