summaryrefslogtreecommitdiffstats
path: root/kcontrol/konq
diff options
context:
space:
mode:
Diffstat (limited to 'kcontrol/konq')
-rw-r--r--kcontrol/konq/behaviour.cpp5
-rw-r--r--kcontrol/konq/behaviour.h1
-rw-r--r--kcontrol/konq/browser.cpp22
-rw-r--r--kcontrol/konq/browser.h2
-rw-r--r--kcontrol/konq/fontopts.cpp5
-rw-r--r--kcontrol/konq/fontopts.h1
-rw-r--r--kcontrol/konq/previews.cpp5
-rw-r--r--kcontrol/konq/previews.h1
8 files changed, 42 insertions, 0 deletions
diff --git a/kcontrol/konq/behaviour.cpp b/kcontrol/konq/behaviour.cpp
index 4f256b71c..d662d6af7 100644
--- a/kcontrol/konq/behaviour.cpp
+++ b/kcontrol/konq/behaviour.cpp
@@ -291,6 +291,11 @@ void KBehaviourOptions::save()
kapp->dcopClient()->send( "kdesktop", "KDesktopIface", "configure()", data );
}
+TQString KBehaviourOptions::handbookSection() const
+{
+ return "fileman-behav";
+}
+
void KBehaviourOptions::updateWinPixmap(bool b)
{
if (b)
diff --git a/kcontrol/konq/behaviour.h b/kcontrol/konq/behaviour.h
index 2e011f2d2..bb6421be3 100644
--- a/kcontrol/konq/behaviour.h
+++ b/kcontrol/konq/behaviour.h
@@ -43,6 +43,7 @@ public:
virtual void load( bool useDefaults );
virtual void save();
virtual void defaults();
+ virtual TQString handbookSection() const;
protected slots:
diff --git a/kcontrol/konq/browser.cpp b/kcontrol/konq/browser.cpp
index dc6c20b73..49587f2dc 100644
--- a/kcontrol/konq/browser.cpp
+++ b/kcontrol/konq/browser.cpp
@@ -95,6 +95,28 @@ void KBrowserOptions::save()
kuick->save();
}
+TQString KBrowserOptions::handbookDocPath() const
+{
+ int index = m_tab->currentPageIndex();
+ if (kuick && index == 3)
+ return "konq-plugins/kuick/index.html";
+ else
+ return TQString::null;
+}
+
+TQString KBrowserOptions::handbookSection() const
+{
+ int index = m_tab->currentPageIndex();
+ if (index == 0)
+ return "fileman-appearance";
+ else if (index == 1)
+ return "fileman-behav";
+ else if (index == 2)
+ return "fileman-previews";
+ else
+ return TQString::null;
+}
+
TQString KBrowserOptions::quickHelp() const
{
TQWidget *w = m_tab->currentPage();
diff --git a/kcontrol/konq/browser.h b/kcontrol/konq/browser.h
index 928fc6eeb..0e0cee35c 100644
--- a/kcontrol/konq/browser.h
+++ b/kcontrol/konq/browser.h
@@ -37,6 +37,8 @@ public:
virtual void save();
virtual void defaults();
virtual TQString quickHelp() const;
+ virtual TQString handbookDocPath() const;
+ virtual TQString handbookSection() const;
private:
diff --git a/kcontrol/konq/fontopts.cpp b/kcontrol/konq/fontopts.cpp
index 9a325966e..a12b02069 100644
--- a/kcontrol/konq/fontopts.cpp
+++ b/kcontrol/konq/fontopts.cpp
@@ -344,6 +344,11 @@ void KonqFontOptions::save()
kapp->dcopClient()->send( appname, "KDesktopIface", "configure()", data );
}
+TQString KonqFontOptions::handbookSection() const
+{
+ return "fileman-appearance";
+}
+
void KonqFontOptions::slotTextBackgroundClicked()
{
m_pTextBackground->setEnabled( m_cbTextBackground->isChecked() );
diff --git a/kcontrol/konq/fontopts.h b/kcontrol/konq/fontopts.h
index c163deb70..69ffa4af5 100644
--- a/kcontrol/konq/fontopts.h
+++ b/kcontrol/konq/fontopts.h
@@ -60,6 +60,7 @@ public:
virtual void load( bool readDefaults );
virtual void save();
virtual void defaults();
+ virtual TQString handbookSection() const;
public slots:
void slotFontSize(int i);
diff --git a/kcontrol/konq/previews.cpp b/kcontrol/konq/previews.cpp
index 107270eca..1f7bf85c4 100644
--- a/kcontrol/konq/previews.cpp
+++ b/kcontrol/konq/previews.cpp
@@ -211,6 +211,11 @@ void KPreviewOptions::save()
kapp->dcopClient()->send( "konqueror*", "KonquerorIface", "reparseConfiguration()", data );
}
+TQString KPreviewOptions::handbookSection() const
+{
+ return "fileman-previews";
+}
+
void KPreviewOptions::changed()
{
emit TDECModule::changed(true);
diff --git a/kcontrol/konq/previews.h b/kcontrol/konq/previews.h
index a1b4772bf..d76b28560 100644
--- a/kcontrol/konq/previews.h
+++ b/kcontrol/konq/previews.h
@@ -48,6 +48,7 @@ public:
virtual void load();
virtual void save();
virtual void defaults();
+ virtual TQString handbookSection() const;
protected:
void load(bool useDefaults);