summaryrefslogtreecommitdiffstats
path: root/kcontrol/performance
diff options
context:
space:
mode:
Diffstat (limited to 'kcontrol/performance')
-rw-r--r--kcontrol/performance/CMakeLists.txt34
-rw-r--r--kcontrol/performance/Makefile.am20
-rw-r--r--kcontrol/performance/kcmkonqyperformance.desktop207
-rw-r--r--kcontrol/performance/kcmperformance.cpp141
-rw-r--r--kcontrol/performance/kcmperformance.desktop215
-rw-r--r--kcontrol/performance/kcmperformance.h63
-rw-r--r--kcontrol/performance/konqueror.cpp147
-rw-r--r--kcontrol/performance/konqueror.h46
-rw-r--r--kcontrol/performance/konqueror_ui.ui155
-rw-r--r--kcontrol/performance/system.cpp80
-rw-r--r--kcontrol/performance/system.h44
-rw-r--r--kcontrol/performance/system_ui.ui69
12 files changed, 1221 insertions, 0 deletions
diff --git a/kcontrol/performance/CMakeLists.txt b/kcontrol/performance/CMakeLists.txt
new file mode 100644
index 000000000..59f5b2b02
--- /dev/null
+++ b/kcontrol/performance/CMakeLists.txt
@@ -0,0 +1,34 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+##### other data ################################
+
+install( FILES kcmperformance.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+install( FILES kcmkonqyperformance.desktop DESTINATION ${APPS_INSTALL_DIR}/.hidden )
+
+
+##### kcm_performance (module) ##################
+
+tde_add_kpart( kcm_performance AUTOMOC
+ SOURCES kcmperformance.cpp konqueror.cpp konqueror_ui.ui system.cpp system_ui.ui
+ LINK tdeui-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kcontrol/performance/Makefile.am b/kcontrol/performance/Makefile.am
new file mode 100644
index 000000000..8f7904990
--- /dev/null
+++ b/kcontrol/performance/Makefile.am
@@ -0,0 +1,20 @@
+kde_module_LTLIBRARIES = kcm_performance.la
+
+kcm_performance_la_SOURCES = kcmperformance.cpp konqueror.cpp konqueror_ui.ui system.cpp system_ui.ui
+kcm_performance_la_LDFLAGS = $(all_libraries) -module -avoid-version -no-undefined
+kcm_performance_la_LIBADD = -ltdeui
+AM_CPPFLAGS= $(all_includes)
+
+METASOURCES = AUTO
+
+noinst_HEADERS = konqueror.h system.h
+
+messages: rc.cpp
+ $(XGETTEXT) *.cpp -o $(podir)/kcmperformance.pot
+
+xdg_apps_DATA = kcmperformance.desktop
+
+kcmperformance_hidden_data_DATA = kcmkonqyperformance.desktop
+kcmperformance_hidden_datadir = $(kde_appsdir)/.hidden
+
+EXTRA_DIST = $(xdg_apps_DATA)
diff --git a/kcontrol/performance/kcmkonqyperformance.desktop b/kcontrol/performance/kcmkonqyperformance.desktop
new file mode 100644
index 000000000..646498661
--- /dev/null
+++ b/kcontrol/performance/kcmkonqyperformance.desktop
@@ -0,0 +1,207 @@
+[Desktop Entry]
+Icon=launch
+Type=Application
+Exec=tdecmshell kcmkonqyperformance
+X-DocPath=kcontrol/performance/index.html#konqueror-performance
+
+X-TDE-Library=performance
+X-TDE-FactoryName=konqueror
+X-TDE-ParentApp=kcontrol
+
+Name=Performance
+Name[af]=Werkverrigting
+Name[ar]=الأداء
+Name[az]=Keyfiyyət
+Name[be]=Хуткасць працы
+Name[bg]=Производителност
+Name[bn]=কার্যকারীতা
+Name[bs]=Performanse
+Name[ca]=Rendiment
+Name[cs]=Výkon
+Name[csb]=Spòrosc
+Name[cy]=Perfformiad
+Name[da]=Ydelse
+Name[de]=Leistung
+Name[el]=Απόδοση
+Name[eo]=Potenco
+Name[es]=Rendimiento
+Name[et]=Jõudlus
+Name[eu]=Performantzia
+Name[fa]=کارایی
+Name[fi]=Suorituskyky
+Name[fy]=Prestaasje
+Name[ga]=Feidhmiúchán
+Name[gl]=Rendemento
+Name[he]=ביצועים
+Name[hi]=परफार्मेंस
+Name[hr]=Performanse
+Name[hu]=Teljesítmény
+Name[is]=Afköst
+Name[it]=Prestazioni
+Name[ja]=パフォーマンス
+Name[ka]=წარმადობა
+Name[kk]=Жылдамдылығы
+Name[km]=ដំណើរការ
+Name[ko]=성능
+Name[lt]=Veikimo sparta
+Name[lv]=Veiktspēja
+Name[mk]=Перформанси
+Name[mn]=Чадал
+Name[ms]=Prestasi
+Name[mt]=Effiċjenza
+Name[nb]=Ytelse
+Name[nds]=Leisten
+Name[ne]=सम्पादन
+Name[nl]=Prestatie
+Name[nn]=Yting
+Name[pa]=ਪਰਦਰਸ਼ਨ
+Name[pl]=Wydajność
+Name[pt_BR]=Perfomance
+Name[ro]=Performanță
+Name[ru]=Быстродействие
+Name[rw]=Ugukora neza
+Name[se]=Buktu
+Name[sk]=Výkon
+Name[sl]=Zmogljivost
+Name[sr]=Перформансе
+Name[sr@Latn]=Performanse
+Name[sv]=Prestanda
+Name[ta]=செயல்திறன்
+Name[tg]=Амалкард
+Name[th]=ประสิทธิภาพ
+Name[tr]=Performans
+Name[tt]=Citezlek
+Name[uk]=Швидкодія
+Name[uz]=Unumdorlik
+Name[uz@cyrillic]=Унумдорлик
+Name[vi]=Hiệu năng
+Name[wa]=Fé kine
+Name[zh_CN]=性能
+Name[zh_TW]=偏好設定
+
+Comment=Configure settings that can improve Konqueror performance
+Comment[af]=Stel instellings op wat Konqueror se werkverrigting kan verhoog
+Comment[ar]=إعداد تعيينات تحسّن إداء Konqueror
+Comment[be]=Настаўленне параметраў, якія могуць павялічыць хуткасць працы Konqueror
+Comment[bg]=Настройване производителността на браузъра
+Comment[bn]=কনকরার-এর কার্যকারীতা বর্ধন করতে পারে এমন সব সেটিংস কনফিগার করুন
+Comment[bs]=Postavke koje mogu unaprijediti performanse Konquerora
+Comment[ca]=Configura les opcions per a millorar el rendiment del Konqueror
+Comment[cs]=Zde můžete vylepšit výkon aplikace Konqueror
+Comment[csb]=Kònfigùracëjô nastôwów Konquerora jaczé nają cësk na spòrosc
+Comment[cy]=Ffurfweddu gosodiadau sy'n gallu gwella perfformiad Konqueror
+Comment[da]=Indstil opsætning for at forbedre Konquerors ydelse
+Comment[de]=Einstellungen vornehmen, die Konquerors Leistungsfähigkeit erhöhen können
+Comment[el]=Αλλάξτε ρυθμίσεις που μπορεί να βελτιώσουν την απόδοση του Konqueror
+Comment[eo]=Agordo de Konkeranto por plibonigi la potencon
+Comment[es]=Configuraciones que pueden mejorar el rendimiento de Konqueror
+Comment[et]=Siin saad seadistada, kuidas Konqueror kõigega paremini toime tuleks
+Comment[eu]=Konfiguratu Konquerorren performantzia hobe dezaketen ezarpenak
+Comment[fa]=پیکربندی تنظیماتی که کارایی Konqueror را بهبود می‌بخشد.
+Comment[fi]=Muokkaa Konquerorin suorituskykyyn liittyviä asetuksia
+Comment[fr]=Amélioration des performances de Konqueror
+Comment[fy]=Hjir kinne jo ynstellings kieze die de prestaasje fan Konqueror ferbetterje
+Comment[ga]=Cumraigh socruithe a chuirfidh feabhas ar fheidhmiúchán Konqueror
+Comment[gl]=Configurar as opcións que poden mellorar o rendemento de Konqueror
+Comment[he]=הגדר הגדרות העשויות לשפר את ביצועי Konqueror
+Comment[hi]=विन्यास कॉन्फ़िगर करें ताकि कॉन्करर का कार्य बेहतर हो सके
+Comment[hr]=Konfiguriranje postavki koje mogu poboljšati performanse Konquerora
+Comment[hu]=A Konqueror böngésző teljesítményét befolyásoló paraméterek beállítása
+Comment[is]=Stillingar Konqueror er varða afköst
+Comment[it]=Configura le impostazioni che possono migliorare le prestazioni di Konqueror
+Comment[ja]=Konqueror のパフォーマンスを改善
+Comment[ka]=Konqueror-ის სისწრაფეზე მოქმედი პარამეტრების კონფიგურაცია
+Comment[kk]=Konqueror жылдамдығын арттыратын параметрлерді баптау
+Comment[km]=កំណត់​រចនាសម្ព័ន្ធ​ការ​កំណត់ ដែល​អាច​បង្កើន​​ដំណើរការ Konqueror
+Comment[ko]=Konqueror 성능 향상 설정
+Comment[lt]=Konfigūruokite nustatymus, kurie gali įtakoti Konqueror veikimo spartą
+Comment[lv]=Šeit Jūs varat konfigurēt Iekarotāja parametrus, kas ietekmē tā veiktspēju
+Comment[mk]=Конфигурирајте ги поставувањата што може да ги\nподобрат перформансите на Konqueror
+Comment[mn]=Конкюрор вэб-Хөтөчийн самбар сайжруулалтыг тохируулах
+Comment[ms]=Konfigur seting yang meningkatkan prestasi Konqueror
+Comment[mt]=Ikkonfigura setings li jistgħu itejbu l-veloċità ta' Konqueror
+Comment[nb]=Tilpass innstillinger som kan forbedre Konquerors ytelse
+Comment[nds]=Mit disse Instellen kannst Du de Leisten vun Konqueror verbetern
+Comment[ne]=कन्क्वेरर सम्पादन सुधार गर्न सक्ने सेटिङ कन्फिगर गर्नुहोस्
+Comment[nl]=Hier kunt u instellingen kiezen die de prestaties van Konqueror verbeteren
+Comment[nn]=Innstillingar som kan forbetra ytinga til Konqueror
+Comment[pa]=ਸੰਰਚਨਾ ਸੈਟ ਕਰੋ, ਜਿਸ ਨਾਲ ਕੋਨਕਿਉਰਰ ਦਾ ਪਰਦਰਸ਼ਨ ਵਧਿਆ ਹੋ ਸਕੇ
+Comment[pl]=Konfiguracja ustawień Konquerora mających wpływ na wydajność
+Comment[pt]=Configuração das opções que podem aumentar a performance do Konqueror
+Comment[pt_BR]=Configurações que podem aumentar a performance do Konqueror
+Comment[ro]=Configurează setări care pot îmbunătăți performanța Konqueror
+Comment[ru]=Настройка параметров, которые влияют на быстродействие Konqueror
+Comment[rw]=Kuboneza amagenamiterere ashobora kuvugurura imikorere ya Konqueror
+Comment[se]=Heivet Konqueror:a vai das šaddá buoret buvttu
+Comment[sk]=Nastavenie, ktoré môže vylepšiť výkon prehliadača Konqueror
+Comment[sl]=Nastavitve, ki izboljšajo delovanje Konquerorja
+Comment[sr]=Подешавање поставки које могу да побољшају Konqueror-ове перформансе
+Comment[sr@Latn]=Podešavanje postavki koje mogu da poboljšaju Konqueror-ove performanse
+Comment[sv]=Anpassa inställningar som kan förbättra Konquerors prestanda
+Comment[ta]=கான்கொரர் செயல்திறனை அதிகப்படுத்த அமைப்புகளை வடிவமை
+Comment[tg]= Танзимоте ки метавонанд амалкарди Konqueror-ро беҳбуд бахшанд, танзим кунед
+Comment[th]=ปรับแต่งตั้งค่าที่จะช่วยให้คอนเควอร์เรอร์มีประสิทธิภาพดีขึ้น
+Comment[tr]=Konqueror'un performansını artıracak ayarlamaları yap
+Comment[tt]=Konqueror citezlegen arttıra ala torğan köyläwlär
+Comment[uk]=Тут можна налаштувати швидкодію Konqueror
+Comment[uz]=Konqueror unumdorligini oshirishi mumkin boʻlgan moslamalarni moslash
+Comment[uz@cyrillic]=Konqueror унумдорлигини ошириши мумкин бўлган мосламаларни мослаш
+Comment[vi]=Các thiết lập nâng cao khả năng của Konqueror
+Comment[wa]=Tchuzes d' apontiaedje ki plèt improuver Konqueror
+Comment[zh_CN]=配置提高 Konqueror 性能的设置
+Comment[zh_TW]=可增進 Konqueror 效能的設定
+
+Keywords=konqueror;reuse;preloading;
+Keywords[ar]=كونكيورر;اعادة استخدام;تحميل تمهيدي;
+Keywords[az]=konqueror;yenidən işlətmə;önyükləmə;
+Keywords[be]=Папярэдняя загрузка;konqueror;reuse;preloading;
+Keywords[bg]=предварително; зареждане; използване; повторно; konqueror; reuse; preloading;
+Keywords[ca]=konqueror;torna a emprar;carrega prèviament;
+Keywords[cs]=konqueror;využití;preload;
+Keywords[csb]=konqueror;brëkòwanié znowa;wstãpné wczëtanié;
+Keywords[cy]=konqueror;ailddefnyddio;cynlwytho;
+Keywords[da]=konqueror;genbrug;forudindlæsning;
+Keywords[de]=konqueror;wiederverwenden;
+Keywords[el]=konqueror;επαναχρησιμοποίηση;προφόρτωση;
+Keywords[eo]=konkeranto;antaŭŝarĝi;
+Keywords[et]=konqueror;taaskasutamine;eellaadimine;
+Keywords[eu]=konqueror;berrerabili;prekargatu;
+Keywords[fa]=konqueror، استفادۀ مجدد، پیش‌بارگذاری;
+Keywords[fi]=konqueror;reuse;esilataus;
+Keywords[fr]=konqueror;réutilisation;préchargement;
+Keywords[fy]=konqueror;hergebûk;foarútlade;
+Keywords[ga]=konqueror;athúsáid;réamhluchtú;
+Keywords[gl]=konqueror;reuso;precarga;
+Keywords[he]=konqueror;שימוש חוזר;טעינה מוקדמת; reuse;preloading;מחדש; שוב;
+Keywords[hi]=कॉन्करर;फिर से उपयोग;प्रि-लोडिंग;
+Keywords[hr]=konqueror;reuse;preloading;ponovna upotreba;prethodno učitavanje;
+Keywords[hu]=konqueror;ujrafelhasználás;előtöltés;
+Keywords[it]=konqueror;riutilizzo;precaricamento;prestazioni;preloading;
+Keywords[ja]=konqueror;再使用;事前読み込み;
+Keywords[km]=konqueror;ប្រើ​ឡើង​វិញ;ប្រុងប្រៀប​ផ្ទុក;
+Keywords[lv]=iekarotājs;reuse;priekšielāde;
+Keywords[mk]=konqueror;reuse;preloading;користи;повторно користи;предвчитување;
+Keywords[mn]=Конкюрор;reuse;preloading;
+Keywords[nb]=konqueror;gjenbruk;forhåndslasting;
+Keywords[nds]=Konqueror;wedder bruken;vörladen;
+Keywords[ne]=विजय/प्राप्ति; पुन: प्रयोग; पूर्व-लोडिङ;
+Keywords[nl]=konqueror;hergebruik;preloading;
+Keywords[nn]=Konqueror;gjenbruk;førehandslasting;
+Keywords[pa]=konqueror;reuse;preloading; ਕੋਨਕਿਉਰਰ; ਮੁੜ ਲੋਡ;
+Keywords[pl]=konqueror;ponowne użycie;wstępne wczytywanie;
+Keywords[pt]=konqueror;reutilização;pré-carregamento;
+Keywords[pt_BR]=konqueror;reuso;pré-carregamento;
+Keywords[ro]=konqueror;reutilizare;preîncărcare;
+Keywords[rw]=Konqueror;kongera gukoresha;gutangizambere;
+Keywords[sl]=konqueror;recikliranje;prednalaganje;
+Keywords[sr]=konqueror;reuse;preloading;поново коришћење;преучитавање;
+Keywords[sr@Latn]=konqueror;reuse;preloading;ponovo korišćenje;preučitavanje;
+Keywords[sv]=konqueror;återanvändning;förladdning;
+Keywords[ta]=கான்கொரர்;திரும்ப பயன்படுத்து;முன்ஏற்றுதல்;
+Keywords[th]=คอนเควอร์เรอร์;นำมาใช้ใหม่;เตรียมโหลดไว้ก่อน;
+Keywords[tr]=konqueror;yeniden kullanım;ön yükleme;
+Keywords[uk]=konqueror;повторне використання;попереднє завантаження;
+Keywords[vi]=konqueror;tái sử dụng;tải về sẵn trước;
+Keywords[zh_CN]=konqueror;reuse;preloading;再利用;预加载;
+Keywords[zh_TW]=konqueror;reuse;preloading;重用;預先載入;
+
diff --git a/kcontrol/performance/kcmperformance.cpp b/kcontrol/performance/kcmperformance.cpp
new file mode 100644
index 000000000..84959e34d
--- /dev/null
+++ b/kcontrol/performance/kcmperformance.cpp
@@ -0,0 +1,141 @@
+/*
+ * Copyright (c) 2003 Lubos Lunak <l.lunak@kde.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+
+#include <tqlayout.h>
+#include <tqtabwidget.h>
+
+#include <tdelocale.h>
+#include <kdialog.h>
+
+#include "kcmperformance.h"
+#include "konqueror.h"
+#include "system.h"
+
+extern "C"
+{
+ KDE_EXPORT TDECModule* create_performance( TQWidget* parent_P, const char* name_P )
+ {
+ return new KCMPerformance::Config( parent_P, name_P );
+ }
+
+ KDE_EXPORT TDECModule* create_konqueror( TQWidget* parent_P, const char* name_P )
+ {
+ return new KCMPerformance::KonquerorConfig( parent_P, name_P );
+ }
+}
+
+namespace KCMPerformance
+{
+
+Config::Config( TQWidget* parent_P, const char* )
+ : TDECModule( parent_P, "kcmperformance" )
+ {
+ setQuickHelp( i18n( "<h1>TDE Performance</h1>"
+ " You can configure settings that improve TDE performance here." ));
+
+ TQVBoxLayout *topLayout = new TQVBoxLayout( 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()));
+ tabs->addTab( konqueror_widget, i18n( "Konqueror" ));
+ system_widget = new SystemWidget( tabs );
+ system_widget->layout()->setMargin( KDialog::marginHint() );
+ connect( system_widget, TQT_SIGNAL( changed()), TQT_SLOT( changed()));
+ tabs->addTab( system_widget, i18n( "System" ));
+ topLayout->add( tabs );
+ load();
+ }
+
+void Config::load()
+ {
+ load( false );
+ }
+
+void Config::load( bool useDefaults)
+ {
+ konqueror_widget->load( useDefaults );
+ system_widget->load( useDefaults );
+ emit changed( useDefaults );
+ }
+
+void Config::save()
+ {
+ konqueror_widget->save();
+ system_widget->save();
+ }
+
+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" )
+ {
+ setQuickHelp( i18n( "<h1>Konqueror Performance</h1>"
+ " You can configure several settings that improve Konqueror performance here."
+ " These include options for reusing already running instances"
+ " and for keeping instances preloaded." ));
+
+ TQVBoxLayout *topLayout = new TQVBoxLayout( this );
+ widget = new Konqueror( this );
+ connect( widget, TQT_SIGNAL( changed()), TQT_SLOT( changed()));
+ topLayout->add( widget );
+ load();
+ }
+
+void KonquerorConfig::load()
+ {
+ load( false );
+ }
+
+void KonquerorConfig::load(bool useDefaults)
+ {
+ widget->load( useDefaults );
+ emit changed( useDefaults );
+ }
+
+void KonquerorConfig::save()
+ {
+ widget->save();
+ }
+
+void KonquerorConfig::defaults()
+ {
+ load( true );
+ }
+
+} // namespace
+
+#include "kcmperformance.moc"
diff --git a/kcontrol/performance/kcmperformance.desktop b/kcontrol/performance/kcmperformance.desktop
new file mode 100644
index 000000000..0472befc1
--- /dev/null
+++ b/kcontrol/performance/kcmperformance.desktop
@@ -0,0 +1,215 @@
+[Desktop Entry]
+Icon=launch
+Type=Application
+Exec=tdecmshell kcmperformance
+X-DocPath=kcontrol/performance/index.html
+
+X-TDE-Library=performance
+X-TDE-FactoryName=performance
+X-TDE-ParentApp=kcontrol
+
+Name=TDE Performance
+Name[af]=TDE Werkverrigting
+Name[ar]=إداء TDE
+Name[az]=TDE Keyfiyyəti
+Name[be]=Хуткасць працы TDE
+Name[bg]=Производителност
+Name[bn]=কে.ডি.ই. কার্যকারীতা
+Name[bs]=TDE performanse
+Name[ca]=Rendiment del TDE
+Name[cs]=Výkon TDE
+Name[csb]=Spòrosc TDE
+Name[cy]=Perfformiad TDE
+Name[da]=TDE's ydelse
+Name[de]=TDE-Leistung
+Name[el]=Απόδοση του TDE
+Name[eo]=TDEa potenco
+Name[es]=Rendimiento de TDE
+Name[et]=TDE jõudlus
+Name[eu]=TDEren performantzia
+Name[fa]=کارایی TDE
+Name[fi]=Suorituskyky
+Name[fr]=Performance de TDE
+Name[fy]=TDE-prestaasjes
+Name[ga]=Feidhmiúchán TDE
+Name[gl]=Rendemento de TDE
+Name[he]=ביצועי TDE
+Name[hi]=केडीई परफार्मेंस
+Name[hr]=TDE performanse
+Name[hu]=Teljesítményhangolás
+Name[is]=Afkastastillingar TDE
+Name[it]=Prestazioni di TDE
+Name[ja]=TDE パフォーマンス
+Name[ka]=TDE-ს წარმადობა
+Name[kk]=TDE жылдамдығы
+Name[km]=ដំណើរការ​របស់ TDE
+Name[ko]=TDE 성능
+Name[lt]=TDE našumas
+Name[lv]=TDE Veiktspēja
+Name[mk]=Перформанси на TDE
+Name[mn]=КДЭ-Удирдлагын самбар
+Name[ms]=Prestasi TDE
+Name[mt]=Effiċjenza TDE
+Name[nb]=TDE-ytelse
+Name[nds]=TDE-Leisten
+Name[ne]=TDE सम्पादन
+Name[nl]=TDE-prestaties
+Name[nn]=TDE-yting
+Name[pa]=TDE ਪਰਦਰਸ਼ਨ
+Name[pl]=Wydajność TDE
+Name[pt]=Performance do TDE
+Name[pt_BR]=Performance do TDE
+Name[ro]=Performanță TDE
+Name[ru]=Быстродействие
+Name[rw]=Imikorere ya TDE
+Name[se]=TDE-buktu
+Name[sk]=Výkon TDE
+Name[sl]=Zmogljivost TDE
+Name[sr]=TDE перформансе
+Name[sr@Latn]=TDE performanse
+Name[sv]=TDE-prestanda
+Name[ta]=TDE செயல்திறன்
+Name[tg]=Амалкарди TDE
+Name[th]=ประสิทธิภาพของ TDE
+Name[tr]=TDE Performansı
+Name[tt]=TDE Citezlege
+Name[uk]=Швидкодія TDE
+Name[uz]=TDE unumdorligi
+Name[uz@cyrillic]=TDE унумдорлиги
+Name[vi]=Hiệu năng TDE
+Name[wa]=Improuver TDE
+Name[zh_CN]=TDE 性能
+Name[zh_TW]=TDE 效能
+
+Comment=Configure settings that can improve TDE performance
+Comment[af]=Stel instellings op wat TDE se werkverrigting kan verhoog
+Comment[ar]=إعداد تعيينات تحسّن إداء TDE
+Comment[be]=Настаўленне параметраў, якія могуць павялічыць хуткасць працы TDE
+Comment[bg]=Настройване производителността на системата
+Comment[bn]=কে.ডি.ই-এর কার্যকারীতা বর্ধন করতে পারে এমন সব সেটিংস কনফিগার করুন
+Comment[bs]=Postavke koje mogu unaprijediti performanse TDEa
+Comment[ca]=Configura les opcions per a millorar el rendiment del TDE
+Comment[cs]=Nastavení vylepšující výkon TDE
+Comment[csb]=Kònfigùracëjô nastôwów Konquerora jaczé nają cësk na spòrosc TDE
+Comment[cy]=Ffurfweddu gosodiadau sy'n gallu gwella perfformiad TDE
+Comment[da]=Indstil opsætning for at forbedre TDE's ydelse
+Comment[de]=Einstellungen vornehmen, die die Leistungsfähigkeit von TDE erhöhen können
+Comment[el]=Αλλάξτε ρυθμίσεις που μπορεί να βελτιώσουν την απόδοση του TDE
+Comment[eo]=Agordo de plibonigo de la TDEa potenco
+Comment[es]=Configura opciones que pueden mejorar el rendimiento de TDE
+Comment[et]=Siin saad seadistada, kuidas TDE kõigega paremini toime tuleks
+Comment[eu]=Konfiguratu Konquerorren performantzia hobe dezaketen ezarpenak
+Comment[fa]=پیکربندی تنظیماتی که کارایی TDE را بهبود می‌بخشد
+Comment[fi]=Muokkaa TDE:n suorituskykyyn liittyviä asetuksia
+Comment[fr]=Configuration de paramètres qui peuvent améliorer les performances de TDE
+Comment[fy]=Hjir kinne jo ynstellings kiezen die de prestaasje fan TDE kinne ferbetterje
+Comment[ga]=Cumraigh socruithe a chuirfidh feabhas ar fheidhmiúchán TDE
+Comment[gl]=Configuración das opcións que poden mellorar o rendemento de TDE
+Comment[he]=הגדר הגדרות שעשויות לשפר את ביצועי TDE
+Comment[hi]=विन्यास कॉन्फ़िगर करें ताकि केडीई का कार्य बेहतर हो सके
+Comment[hr]=Konfiguriranje postavi koje mogu poboljšati performanse TDE-a
+Comment[hu]=A TDE teljesítményét befolyásoló paraméterek beállítása
+Comment[is]=Stillingar sem varða afköst TDE
+Comment[it]=Configura le impostazioni che possono migliorare le prestazioni di TDE
+Comment[ja]=TDE のパフォーマンスを改善
+Comment[ka]=TDE-ს სისწრაფეზე მოქმედი პარამეტრების კონფიგურაცია
+Comment[kk]=TDE жылдамдығын арттыратын параметрлерді баптау
+Comment[km]=កំណត់​រចនាសម្ព័ន្ធ​ការ​កំណត់​ដែល​អាច​បង្កើន​ដំណើរការ​របស់ TDE
+Comment[ko]=TDE 성능 향상 설정
+Comment[lt]=Konfigūruoti nustatymus, kurie gali pagerinti TDE veikimo spartą
+Comment[lv]=Konfigurē parametrus, kas ietekmē Iekarotāja veiktspēju
+Comment[mk]=Конфигурирајте ги поставувањата што може да ги подобрат перформансите на TDE
+Comment[mn]=Comment=КДЭ чадал сайжруулалтыг тохируулах
+Comment[ms]=Konfigur seting yang boleh meningkatkan prestasi TDE
+Comment[mt]=Ikkonfigura setings li jistgħu itejbu l-veloċità ta' TDE
+Comment[nb]=Innstillinger som kan forbedre TDEs ytelse
+Comment[nds]=Mit disse Instellen kannst Du de Leisten vun TDE verbetern
+Comment[ne]=TDE सम्पादन सुधार गर्न सक्ने सेटिङ कन्फिगर गर्नुहोस्
+Comment[nl]=Hier kunt u instellingen kiezen die de prestaties van TDE kunnen verbeteren
+Comment[nn]=Innstillingar som kan forbetra ytinga til TDE
+Comment[pa]=ਸੰਰਚਨਾ ਸੈਟ ਕਰੋ, ਜਿਸ ਨਾਲ TDE ਦਾ ਪਰਦਰਸ਼ਨ ਵਧਿਆ ਹੋ ਸਕਦਾ ਹੈ
+Comment[pl]=Konfiguracja ustawień, które mogą mieć wpływ na wydajność TDE
+Comment[pt]=Configura as opções que podem aumentar a performance do TDE
+Comment[pt_BR]=Configurações que podem aumentar a performance do TDE
+Comment[ro]=Configurează setări care pot îmbunătăți performanța Konqueror
+Comment[ru]=Настройка параметров, которые могут повлиять на быстродействие TDE
+Comment[rw]=Kuboneza amagenamiterere ashobora kuvugurura imikorere ya TDE
+Comment[se]=Heivehusat mat buoridit TDE:a buvttu
+Comment[sk]=Nastavenie, ktoré môže vylepšiť výkon TDE
+Comment[sl]=Nastavite možnosti za pohitritev TDE
+Comment[sr]=Подешавање поставки које могу да побољшају перформансе TDE-а
+Comment[sr@Latn]=Podešavanje postavki koje mogu da poboljšaju performanse TDE-a
+Comment[sv]=Anpassa inställningar som kan förbättra TDE:s prestanda
+Comment[ta]=TDE செயல்திறனை அதிகப்படுத்தும் அமைப்புகளை அமை
+Comment[tg]= Танзимоте ки метавонанд амалкарди TDE-ро беҳбуд бахшанд, танзим кунед
+Comment[th]=ปรับแต่งตั้งค่าที่จะช่วยปรับประสิทธิภาพของ TDE
+Comment[tr]=TDE'nin performansını artıracak ayarlamaları yap
+Comment[tt]=TDE citezlegen arttıra ala torğan köyläwlär
+Comment[uk]=Налаштування параметрів для покращання швидкодії TDE
+Comment[uz]=TDE unumdorligini oshirishi mumkin boʻlgan moslamalarni moslash
+Comment[uz@cyrillic]=TDE унумдорлигини ошириши мумкин бўлган мосламаларни мослаш
+Comment[vi]=Các thiết lập nâng cao khả năng của Konqueror
+Comment[wa]=Tchuzes d' apontiaedje ki plèt improuver TDE
+Comment[zh_CN]=配置提高 TDE 性能的设置
+Comment[zh_TW]=可增進 TDE 效能的設定
+
+Keywords=performance;speed;memory;improve;
+Keywords[ar]=performance;speed;memory;improve;أداء;سرعة;ذاكرة;تحسين;
+Keywords[be]=Хуткасць працы;Прадукцыйнасць;Хуткасць;Памяць;Палепшыць;Паляпшэнне;performance;speed;memory;improve;
+Keywords[bg]=производителност; памет; скорост; подобряване; подобрение; performance; speed; memory; improve;
+Keywords[ca]=rendiment;velocitat;memòria;millora;
+Keywords[cs]=výkon;rychlost;paměť;zlepšení;
+Keywords[csb]=spòrosc; chùtkòsc; pamiãc;zlepszenié;
+Keywords[cy]=perfformiad;cyflymder;cof;gwella;
+Keywords[da]=ydelse;hastighed;hukommelse;forbedre;
+Keywords[de]=leistung;geschwindigkeit;speichern;optimieren;
+Keywords[el]=απόδοση;ταχύτητα;μνήμη;βελτίωση;
+Keywords[eo]=potenco;rapideco;memoro;plibonigo;plibonigi;
+Keywords[es]=rendimiento;velocidad;memoria;mejora;
+Keywords[et]=jõudlus;kiirus;mälu;parandamine;
+Keywords[eu]=performantzia;abiadura;memoria;hobetu;
+Keywords[fa]=کارایی، سرعت، حافظه، بهبود;
+Keywords[fi]=suorituskyky; nopeus; muisti; parannus;
+Keywords[fr]=performances;vitesse;mémoire;améliorer;
+Keywords[fy]=fluggens;prestaasjes;ûnthâld;ferbetterje;
+Keywords[ga]=oibriú;luas;cuimhne;feabhsaigh;feabhsú;
+Keywords[gl]=rendemento;velocidade;memoria;mellora;
+Keywords[he]=ביצועים;מהירות;זיכרון;שפר; performance;speed;memory;improve;
+Keywords[hi]=परफार्मेंस;गति;मेमोरी;बेहतर;
+Keywords[hr]=performance;speed;memory;improve;performanse;brzina;memorija;unaprijediti;
+Keywords[hu]=teljesítmény;sebesség;memória;hangolás;
+Keywords[it]=prestazioni;velocità;memoria;migliora;
+Keywords[ja]=パフォーマンス;速度;メモリ;改善;
+Keywords[km]=ដំណើរការ;ល្បឿន;សតិ;បង្កើន;
+Keywords[lt]=performance;speed;memory;improve;veikimas;greitis;atmintis;pagerinti;
+Keywords[lv]=veiktspēja;ātrums;atmiņa;uzlabot;
+Keywords[mk]=performance;speed;memory;improve;перформанси;брзина;меморија;подобри;
+Keywords[mn]=чадал;хурд;санах ой;сайжруулалт;
+Keywords[nb]=ytelse;hastighet;minne;forbedre;
+Keywords[nds]=Leisten;performance;Gauheit;Spieker;verbetern;
+Keywords[ne]=सम्पादन;गति; स्मृति; सुधार;
+Keywords[nl]=snelheid;prestaties;geheugen;verbeteren;
+Keywords[nn]=yting;fart;minne;forbetra;
+Keywords[pa]=performance;speed;memory;improve; ਪਰਦਰਸ਼ਨ; ਗਤੀ; ਮੈਮੋਰੀ; ਸੁਧਾਰ;
+Keywords[pl]=wydajność;szybkość;pamięć;polepszenie;
+Keywords[pt]=performance;velocidade;memória;melhorar;
+Keywords[pt_BR]=performance;velocidade;memória;aumento;
+Keywords[ro]=performanță;viteză;memorie;îmbunătățire;
+Keywords[rw]=imikorere;umuvuduko;umwanyabubiko;kuvugurura;
+Keywords[se]=buktu;leahttu;muitu;buoridit;
+Keywords[sl]=zmogljivost;hitrost;pomnilnik;izboljšanje;
+Keywords[sr]=performance;speed;memory;improve;перформансе;брзина;меморија;унапређивање;унапреди;
+Keywords[sr@Latn]=performance;speed;memory;improve;performanse;brzina;memorija;unapređivanje;unapredi;
+Keywords[sv]=prestanda;hastighet;minne;förbättra;
+Keywords[ta]=செயல்திறன்;வேகம்;நினைவகம்;முன்னேற்றம்;
+Keywords[th]=ประสิทธิภาพ;ความเร็ว;หน่วยความจำ;ปรับปรุง;
+Keywords[tr]=performans;hız;bellek;geliştirme;
+Keywords[uk]=швидкодія;швидкість;пам'ять;покращення;
+Keywords[uz]=unumdorlik;tezlik;xotira;oshirish;
+Keywords[uz@cyrillic]=унумдорлик;тезлик;хотира;ошириш;
+Keywords[vi]=hiệu năng;tốc độ;bộ nhớ;nâng cao;
+Keywords[wa]=improuver;fé kine;roedeu;memwere;improuver;amidrer;
+Keywords[zh_CN]=performance;speed;memory;improve;性能;速度;内存;提高;
+Keywords[zh_TW]=performance;speed;memory;improve;效能;速度;記憶體;增進;
+
+Categories=Qt;TDE;X-TDE-settings-components;
diff --git a/kcontrol/performance/kcmperformance.h b/kcontrol/performance/kcmperformance.h
new file mode 100644
index 000000000..7e0660c60
--- /dev/null
+++ b/kcontrol/performance/kcmperformance.h
@@ -0,0 +1,63 @@
+/*
+ * Copyright (c) 2003 Lubos Lunak <l.lunak@kde.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+
+#ifndef _KCM_PERFORMANCE_H
+#define _KCM_PERFORMANCE_H
+
+#include <tdecmodule.h>
+
+namespace KCMPerformance
+{
+
+class Konqueror;
+class SystemWidget;
+
+class Config
+ : public TDECModule
+ {
+ Q_OBJECT
+ public:
+ Config( TQWidget* parent_P, const char* name_P );
+ virtual void load();
+ virtual void load( bool useDefaults );
+ virtual void save();
+ virtual void defaults();
+ virtual TQString handbookSection() const;
+ private:
+ Konqueror* konqueror_widget;
+ SystemWidget* system_widget;
+ TQTabWidget* tabs;
+ };
+
+class KonquerorConfig
+ : public TDECModule
+ {
+ Q_OBJECT
+ public:
+ KonquerorConfig( TQWidget* parent_P, const char* name_P );
+ virtual void load();
+ virtual void load( bool useDefaults );
+ virtual void save();
+ virtual void defaults();
+ private:
+ Konqueror* widget;
+ };
+
+} // namespace
+
+#endif
diff --git a/kcontrol/performance/konqueror.cpp b/kcontrol/performance/konqueror.cpp
new file mode 100644
index 000000000..8cd82699b
--- /dev/null
+++ b/kcontrol/performance/konqueror.cpp
@@ -0,0 +1,147 @@
+/*
+ * Copyright (c) 2003 Lubos Lunak <l.lunak@kde.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+
+#include "konqueror.h"
+
+#include <dcopref.h>
+#include <tdeconfig.h>
+#include <tqwhatsthis.h>
+#include <tqradiobutton.h>
+#include <tqspinbox.h>
+#include <tqlabel.h>
+#include <tqcheckbox.h>
+#include <tdelocale.h>
+
+namespace KCMPerformance
+{
+
+Konqueror::Konqueror( TQWidget* parent_P )
+ : Konqueror_ui( parent_P )
+ {
+ TQWhatsThis::add( rb_never_reuse,
+ i18n( "Disables the minimization of memory usage and allows you "
+ "to make each browsing activity independent from the others" ));
+ TQWhatsThis::add( rb_file_browsing_reuse,
+ i18n( "With this option activated, only one instance of Konqueror "
+ "used for file browsing will exist in the memory of your computer "
+ "at any moment, "
+ "no matter how many file browsing windows you open, "
+ "thus reducing resource requirements."
+ "<p>Be aware that this also means that, if something goes wrong, "
+ "all your file browsing windows will be closed simultaneously" ));
+ TQWhatsThis::add( rb_always_reuse,
+ i18n( "With this option activated, only one instance of Konqueror "
+ "will exist in the memory of your computer at any moment, "
+ "no matter how many browsing windows you open, "
+ "thus reducing resource requirements."
+ "<p>Be aware that this also means that, if something goes wrong, "
+ "all your browsing windows will be closed simultaneously." ));
+ connect( rb_never_reuse, TQT_SIGNAL( clicked()), TQT_SIGNAL( changed()));
+ connect( rb_file_browsing_reuse, TQT_SIGNAL( clicked()), TQT_SIGNAL( changed()));
+ connect( rb_always_reuse, TQT_SIGNAL( clicked()), TQT_SIGNAL( changed()));
+ rb_file_browsing_reuse->setChecked( true );
+
+ TQString tmp =
+ i18n( "If non-zero, this option allows keeping Konqueror instances "
+ "in memory after all their windows have been closed, up to the "
+ "number specified in this option."
+ "<p>When a new Konqueror instance is needed, one of these preloaded "
+ "instances will be reused instead, improving responsiveness at "
+ "the expense of the memory required by the preloaded instances." );
+ TQWhatsThis::add( sb_preload_count, tmp );
+ TQWhatsThis::add( lb_preload_count, tmp );
+ TQWhatsThis::add( cb_preload_on_startup,
+ i18n( "If enabled, an instance of Konqueror will be preloaded after the ordinary TDE "
+ "startup sequence."
+ "<p>This will make the first Konqueror window open faster, but "
+ "at the expense of longer TDE startup times (but you will be able to work "
+ "while it is loading, so you may not even notice that it is taking longer)." ));
+ TQWhatsThis::add( cb_always_have_preloaded,
+ i18n( "If enabled, TDE will always try to have one preloaded Konqueror instance ready; "
+ "preloading a new instance in the background whenever there is not one available, "
+ "so that windows will always open quickly."
+ "<p><b>Warning:</b> In some cases, it is actually possible that this will "
+ "reduce perceived performance." ));
+ connect( sb_preload_count, TQT_SIGNAL( valueChanged( int )), TQT_SLOT( preload_count_changed( int )));
+ connect( sb_preload_count, TQT_SIGNAL( valueChanged( int )), TQT_SIGNAL( changed()));
+ connect( cb_preload_on_startup, TQT_SIGNAL( clicked()), TQT_SIGNAL( changed()));
+ connect( cb_always_have_preloaded, TQT_SIGNAL( clicked()), TQT_SIGNAL( changed()));
+ defaults();
+ }
+
+void Konqueror::preload_count_changed( int count )
+ {
+ cb_preload_on_startup->setEnabled( count >= 1 );
+ // forcing preloading with count == 1 can often do more harm than good, because
+ // if there's one konqy preloaded, and the user requests "starting" new konqueror,
+ // the preloaded instance will be used, new one will be preloaded, and if the user soon
+ // "quits" konqueror, one of the instances will have to be terminated
+ cb_always_have_preloaded->setEnabled( count >= 2 );
+ }
+
+void Konqueror::load( bool useDefaults )
+ {
+ TDEConfig cfg( "konquerorrc", true );
+ cfg.setReadDefaults( useDefaults );
+ cfg.setGroup( "Reusing" );
+ allowed_parts = cfg.readEntry( "SafeParts", "SAFE" );
+ if( allowed_parts == "ALL" )
+ rb_always_reuse->setChecked( true );
+ else if( allowed_parts.isEmpty())
+ rb_never_reuse->setChecked( true );
+ else
+ rb_file_browsing_reuse->setChecked( true );
+ sb_preload_count->setValue( cfg.readNumEntry( "MaxPreloadCount", 1 ));
+ cb_always_have_preloaded->setChecked( cfg.readBoolEntry( "AlwaysHavePreloaded", false ));
+ cb_preload_on_startup->setChecked( cfg.readBoolEntry( "PreloadOnStartup", false ));
+ }
+
+void Konqueror::save()
+ {
+ TDEConfig cfg( "konquerorrc" );
+ cfg.setGroup( "Reusing" );
+ if( rb_always_reuse->isChecked())
+ allowed_parts = "ALL";
+ else if( rb_never_reuse->isChecked())
+ allowed_parts = "";
+ else
+ {
+ if( allowed_parts.isEmpty() || allowed_parts == "ALL" )
+ allowed_parts = "SAFE";
+ // else - keep allowed_parts as read from the file, as the user may have modified the list there
+ }
+ cfg.writeEntry( "SafeParts", allowed_parts );
+ int count = sb_preload_count->value();
+ cfg.writeEntry( "MaxPreloadCount", count );
+ cfg.writeEntry( "PreloadOnStartup", cb_preload_on_startup->isChecked() && count >= 1 );
+ cfg.writeEntry( "AlwaysHavePreloaded", cb_always_have_preloaded->isChecked() && count >= 2 );
+ cfg.sync();
+ DCOPRef ref1( "konqueror*", "KonquerorIface" );
+ ref1.send( "reparseConfiguration()" );
+ DCOPRef ref2( "kded", "konqy_preloader" );
+ ref2.send( "reconfigure()" );
+ }
+
+void Konqueror::defaults()
+ {
+ load( true );
+ }
+
+} // namespace
+
+#include "konqueror.moc"
diff --git a/kcontrol/performance/konqueror.h b/kcontrol/performance/konqueror.h
new file mode 100644
index 000000000..e948f6b7a
--- /dev/null
+++ b/kcontrol/performance/konqueror.h
@@ -0,0 +1,46 @@
+/*
+ * Copyright (c) 2003 Lubos Lunak <l.lunak@kde.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+
+#ifndef _KCM_PERF_KONQUEROR_H
+#define _KCM_PERF_KONQUEROR_H
+
+#include "konqueror_ui.h"
+
+namespace KCMPerformance
+{
+
+class Konqueror
+ : public Konqueror_ui
+ {
+ Q_OBJECT
+ public:
+ Konqueror( TQWidget* parent_P = NULL );
+ void load(bool useDefaults);
+ void save();
+ void defaults();
+ signals:
+ void changed();
+ private slots:
+ void preload_count_changed( int );
+ private:
+ TQString allowed_parts;
+ };
+
+} // namespace
+
+#endif
diff --git a/kcontrol/performance/konqueror_ui.ui b/kcontrol/performance/konqueror_ui.ui
new file mode 100644
index 000000000..9d67c4bc7
--- /dev/null
+++ b/kcontrol/performance/konqueror_ui.ui
@@ -0,0 +1,155 @@
+<!DOCTYPE UI><UI version="3.1" stdsetdef="1">
+<class>KCMPerformance::Konqueror_ui</class>
+<widget class="TQWidget">
+ <property name="name">
+ <cstring>Konqueror_ui</cstring>
+ </property>
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>600</width>
+ <height>480</height>
+ </rect>
+ </property>
+ <vbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <property name="margin">
+ <number>0</number>
+ </property>
+ <widget class="TQButtonGroup">
+ <property name="name">
+ <cstring>reuse_group</cstring>
+ </property>
+ <property name="title">
+ <string>Minimize Memory Usage</string>
+ </property>
+ <vbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="TQRadioButton">
+ <property name="name">
+ <cstring>rb_never_reuse</cstring>
+ </property>
+ <property name="text">
+ <string>&amp;Never</string>
+ </property>
+ </widget>
+ <widget class="TQRadioButton">
+ <property name="name">
+ <cstring>rb_file_browsing_reuse</cstring>
+ </property>
+ <property name="text">
+ <string>For &amp;file browsing only (recommended)</string>
+ </property>
+ </widget>
+ <widget class="TQRadioButton">
+ <property name="name">
+ <cstring>rb_always_reuse</cstring>
+ </property>
+ <property name="text">
+ <string>Alwa&amp;ys (use with care)</string>
+ </property>
+ </widget>
+ </vbox>
+ </widget>
+ <widget class="TQGroupBox">
+ <property name="name">
+ <cstring>groupBox1</cstring>
+ </property>
+ <property name="title">
+ <string>Preloading</string>
+ </property>
+ <vbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="TQLayoutWidget">
+ <property name="name">
+ <cstring>layout2</cstring>
+ </property>
+ <hbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="TQLabel">
+ <property name="name">
+ <cstring>lb_preload_count</cstring>
+ </property>
+ <property name="text">
+ <string>Maximum number of instances kept &amp;preloaded:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>sb_preload_count</cstring>
+ </property>
+ </widget>
+ <widget class="TQSpinBox">
+ <property name="name">
+ <cstring>sb_preload_count</cstring>
+ </property>
+ </widget>
+ <spacer>
+ <property name="name">
+ <cstring>spacer2</cstring>
+ </property>
+ <property name="orientation">
+ <enum>Horizontal</enum>
+ </property>
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+ <property name="sizeHint">
+ <size>
+ <width>40</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </hbox>
+ </widget>
+ <widget class="TQCheckBox">
+ <property name="name">
+ <cstring>cb_preload_on_startup</cstring>
+ </property>
+ <property name="text">
+ <string>Preload an instance after TDE startup</string>
+ </property>
+ </widget>
+ <widget class="TQCheckBox">
+ <property name="name">
+ <cstring>cb_always_have_preloaded</cstring>
+ </property>
+ <property name="text">
+ <string>Always try to have at least one preloaded instance</string>
+ </property>
+ </widget>
+ </vbox>
+ </widget>
+ <spacer>
+ <property name="name">
+ <cstring>spacer1</cstring>
+ </property>
+ <property name="orientation">
+ <enum>Vertical</enum>
+ </property>
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>160</height>
+ </size>
+ </property>
+ </spacer>
+ </vbox>
+</widget>
+<includes>
+ <include location="local" impldecl="in implementation">kdialog.h</include>
+</includes>
+<layoutdefaults spacing="3" margin="6"/>
+<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
+</UI>
diff --git a/kcontrol/performance/system.cpp b/kcontrol/performance/system.cpp
new file mode 100644
index 000000000..056e78193
--- /dev/null
+++ b/kcontrol/performance/system.cpp
@@ -0,0 +1,80 @@
+/*
+ * Copyright (c) 2004 Lubos Lunak <l.lunak@kde.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+
+#include "system.h"
+
+#include <tdeconfig.h>
+#include <tqwhatsthis.h>
+#include <tqcheckbox.h>
+#include <tqlabel.h>
+#include <tdelocale.h>
+
+namespace KCMPerformance
+{
+
+SystemWidget::SystemWidget( TQWidget* parent_P )
+ : System_ui( parent_P )
+ {
+ TQString tmp =
+ i18n( "<p>During startup TDE needs to perform a check of its system configuration"
+ " (mimetypes, installed applications, etc.), and in case the configuration"
+ " has changed since the last time, the system configuration cache (TDESyCoCa)"
+ " needs to be updated.</p>"
+ "<p>This option delays the check, which avoid scanning all directories containing"
+ " files describing the system during TDE startup, thus"
+ " making TDE startup faster. However, in the rare case the system configuration"
+ " has changed since the last time, and the change is needed before this"
+ " delayed check takes place, this option may lead to various problems"
+ " (missing applications in the TDE Menu, reports from applications about missing"
+ " required mimetypes, etc.).</p>"
+ "<p>Changes of system configuration mostly happen by (un)installing applications."
+ " It is therefore recommended to turn this option temporarily off while"
+ " (un)installing applications.</p>"
+ "<p>For this reason, usage of this option is not recommended. The TDE crash"
+ " handler will refuse to provide backtrace for the bugreport with this option"
+ " turned on (you will need to reproduce it again with this option turned off,"
+ " or turn on the developer mode for the crash handler).</p>" );
+ TQWhatsThis::add( cb_disable_tdebuildsycoca, tmp );
+ TQWhatsThis::add( label_tdebuildsycoca, tmp );
+ connect( cb_disable_tdebuildsycoca, TQT_SIGNAL( clicked()), TQT_SIGNAL( changed()));
+ defaults();
+ }
+
+void SystemWidget::load(bool useDefaults )
+ {
+ TDEConfig cfg( "kdedrc", true );
+ cfg.setReadDefaults( useDefaults );
+ cfg.setGroup( "General" );
+ cb_disable_tdebuildsycoca->setChecked( cfg.readBoolEntry( "DelayedCheck", false ));
+ }
+
+void SystemWidget::save()
+ {
+ TDEConfig cfg( "kdedrc" );
+ cfg.setGroup( "General" );
+ cfg.writeEntry( "DelayedCheck", cb_disable_tdebuildsycoca->isChecked());
+ }
+
+void SystemWidget::defaults()
+ {
+ load( true );
+ }
+
+} // namespace
+
+#include "system.moc"
diff --git a/kcontrol/performance/system.h b/kcontrol/performance/system.h
new file mode 100644
index 000000000..cb570b506
--- /dev/null
+++ b/kcontrol/performance/system.h
@@ -0,0 +1,44 @@
+/*
+ * Copyright (c) 2004 Lubos Lunak <l.lunak@kde.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+
+#ifndef _KCM_PERF_SYSTEM_H
+#define _KCM_PERF_SYSTEM_H
+
+#include <tdecmodule.h>
+
+#include "system_ui.h"
+
+namespace KCMPerformance
+{
+
+class SystemWidget
+ : public System_ui
+ {
+ Q_OBJECT
+ public:
+ SystemWidget( TQWidget* parent_P = NULL );
+ void load( bool useDefaults );
+ void save();
+ void defaults();
+ signals:
+ void changed();
+ };
+
+} // namespace
+
+#endif
diff --git a/kcontrol/performance/system_ui.ui b/kcontrol/performance/system_ui.ui
new file mode 100644
index 000000000..878c73ddf
--- /dev/null
+++ b/kcontrol/performance/system_ui.ui
@@ -0,0 +1,69 @@
+<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
+<class>System_ui</class>
+<widget class="TQWidget">
+ <property name="name">
+ <cstring>System_ui</cstring>
+ </property>
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>600</width>
+ <height>480</height>
+ </rect>
+ </property>
+ <vbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="TQGroupBox">
+ <property name="name">
+ <cstring>gb_</cstring>
+ </property>
+ <property name="title">
+ <string>System Configuration</string>
+ </property>
+ <vbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="TQCheckBox">
+ <property name="name">
+ <cstring>cb_disable_tdebuildsycoca</cstring>
+ </property>
+ <property name="text">
+ <string>Disable &amp;system configuration startup check</string>
+ </property>
+ </widget>
+ <widget class="TQLabel">
+ <property name="name">
+ <cstring>label_tdebuildsycoca</cstring>
+ </property>
+ <property name="text">
+ <string>&lt;b&gt;WARNING:&lt;/b&gt; This option may in rare cases lead to various problems. Consult the What's This? (Shift+F1) help for details.</string>
+ </property>
+ </widget>
+ </vbox>
+ </widget>
+ <spacer>
+ <property name="name">
+ <cstring>spacer1</cstring>
+ </property>
+ <property name="orientation">
+ <enum>Vertical</enum>
+ </property>
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>40</height>
+ </size>
+ </property>
+ </spacer>
+ </vbox>
+</widget>
+<layoutdefaults spacing="6" margin="11"/>
+<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
+</UI>