summaryrefslogtreecommitdiffstats
path: root/kcontrol/performance/kcmperformance.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kcontrol/performance/kcmperformance.cpp')
-rw-r--r--kcontrol/performance/kcmperformance.cpp17
1 files changed, 16 insertions, 1 deletions
diff --git a/kcontrol/performance/kcmperformance.cpp b/kcontrol/performance/kcmperformance.cpp
index 93c5019a6..84959e34d 100644
--- a/kcontrol/performance/kcmperformance.cpp
+++ b/kcontrol/performance/kcmperformance.cpp
@@ -49,7 +49,7 @@ Config::Config( TQWidget* parent_P, const char* )
" You can configure settings that improve TDE performance here." ));
TQVBoxLayout *topLayout = new TQVBoxLayout( this );
- TQTabWidget* tabs = new TQTabWidget( this );
+ tabs = new TQTabWidget( this );
konqueror_widget = new Konqueror( tabs );
konqueror_widget->layout()->setMargin( KDialog::marginHint() );
connect( konqueror_widget, TQT_SIGNAL( changed()), TQT_SLOT( changed()));
@@ -85,6 +85,21 @@ void Config::defaults()
load( true );
}
+TQString Config::handbookSection() const
+ {
+ int index = tabs->currentPageIndex();
+ if (index == 0) {
+ //return "konqueror-performance";
+ return TQString::null;
+ }
+ else if (index == 1) {
+ return "system-performance";
+ }
+ else {
+ return TQString::null;
+ }
+ }
+
KonquerorConfig::KonquerorConfig( TQWidget* parent_P, const char* )
: TDECModule( parent_P, "kcmperformance" )
{