diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
commit | c663b6440964f6ac48027143ac9e63298991f9d0 (patch) | |
tree | 6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kcontrol/performance/konqueror.cpp | |
parent | a061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff) | |
download | tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kcontrol/performance/konqueror.cpp')
-rw-r--r-- | kcontrol/performance/konqueror.cpp | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/kcontrol/performance/konqueror.cpp b/kcontrol/performance/konqueror.cpp index 02dde4cce..909f989bd 100644 --- a/kcontrol/performance/konqueror.cpp +++ b/kcontrol/performance/konqueror.cpp @@ -20,23 +20,23 @@ #include <dcopref.h> #include <kconfig.h> -#include <qwhatsthis.h> -#include <qradiobutton.h> -#include <qspinbox.h> -#include <qlabel.h> -#include <qcheckbox.h> +#include <tqwhatsthis.h> +#include <tqradiobutton.h> +#include <tqspinbox.h> +#include <tqlabel.h> +#include <tqcheckbox.h> #include <klocale.h> namespace KCMPerformance { -Konqueror::Konqueror( QWidget* parent_P ) +Konqueror::Konqueror( TQWidget* parent_P ) : Konqueror_ui( parent_P ) { - QWhatsThis::add( rb_never_reuse, + TQWhatsThis::add( rb_never_reuse, i18n( "Disables the minimization of memory usage and allows you " "to make each browsing activity independent from the others" )); - QWhatsThis::add( rb_file_browsing_reuse, + 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, " @@ -44,43 +44,43 @@ Konqueror::Konqueror( QWidget* parent_P ) "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" )); - QWhatsThis::add( rb_always_reuse, + 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, SIGNAL( clicked()), SIGNAL( changed())); - connect( rb_file_browsing_reuse, SIGNAL( clicked()), SIGNAL( changed())); - connect( rb_always_reuse, SIGNAL( clicked()), SIGNAL( changed())); + 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 ); - QString tmp = + 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." ); - QWhatsThis::add( sb_preload_count, tmp ); - QWhatsThis::add( lb_preload_count, tmp ); - QWhatsThis::add( cb_preload_on_startup, + 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 KDE " "startup sequence." "<p>This will make the first Konqueror window open faster, but " "at the expense of longer KDE startup times (but you will be able to work " "while it is loading, so you may not even notice that it is taking longer)." )); - QWhatsThis::add( cb_always_have_preloaded, + TQWhatsThis::add( cb_always_have_preloaded, i18n( "If enabled, KDE 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, SIGNAL( valueChanged( int )), SLOT( preload_count_changed( int ))); - connect( sb_preload_count, SIGNAL( valueChanged( int )), SIGNAL( changed())); - connect( cb_preload_on_startup, SIGNAL( clicked()), SIGNAL( changed())); - connect( cb_always_have_preloaded, SIGNAL( clicked()), SIGNAL( changed())); + 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(); } |