summaryrefslogtreecommitdiffstats
path: root/kpdf/conf/dlgperformance.ui.h
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commit47d455dd55be855e4cc691c32f687f723d9247ee (patch)
tree52e236aaa2576bdb3840ebede26619692fed6d7d /kpdf/conf/dlgperformance.ui.h
downloadtdegraphics-47d455dd55be855e4cc691c32f687f723d9247ee.tar.gz
tdegraphics-47d455dd55be855e4cc691c32f687f723d9247ee.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpdf/conf/dlgperformance.ui.h')
-rw-r--r--kpdf/conf/dlgperformance.ui.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/kpdf/conf/dlgperformance.ui.h b/kpdf/conf/dlgperformance.ui.h
new file mode 100644
index 00000000..4a13310e
--- /dev/null
+++ b/kpdf/conf/dlgperformance.ui.h
@@ -0,0 +1,38 @@
+/***************************************************************************
+ * Copyright (C) 2004 by Enrico Ros <eros.kde@email.it> *
+ * *
+ * 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. *
+ ***************************************************************************/
+
+#include <klocale.h>
+
+// The purpose of this file is only to display a sort of descriptive text
+// when the user clicks on each memory profile.
+
+void DlgPerformance::init()
+{
+ QFont labelFont = descLabel->font();
+ labelFont.setBold( true );
+ descLabel->setFont( labelFont );
+}
+
+void DlgPerformance::lowRadio_toggled( bool on )
+{
+ if ( on )
+ descLabel->setText( i18n("Keeps used memory as low as possible. Do not reuse anything. (For systems with low memory.)") );
+}
+
+void DlgPerformance::normalRadio_toggled( bool on )
+{
+ if ( on )
+ descLabel->setText( i18n("A good compromise between memory usage and speed gain. Preload next page and boost searches. (For systems with 256MB of memory, typically.)") );
+}
+
+void DlgPerformance::aggressiveRadio_toggled( bool on )
+{
+ if ( on )
+ descLabel->setText( i18n("Keeps everything in memory. Preload next pages. Boost searches. (For systems with more than 512MB of memory.)") );
+}