summaryrefslogtreecommitdiffstats
path: root/kcontrol/performance
diff options
context:
space:
mode:
Diffstat (limited to 'kcontrol/performance')
-rw-r--r--kcontrol/performance/kcmperformance.cpp24
-rw-r--r--kcontrol/performance/kcmperformance.h4
-rw-r--r--kcontrol/performance/konqueror.cpp42
-rw-r--r--kcontrol/performance/konqueror.h4
-rw-r--r--kcontrol/performance/system.cpp16
-rw-r--r--kcontrol/performance/system.h2
6 files changed, 46 insertions, 46 deletions
diff --git a/kcontrol/performance/kcmperformance.cpp b/kcontrol/performance/kcmperformance.cpp
index be4b57387..b85dca5d8 100644
--- a/kcontrol/performance/kcmperformance.cpp
+++ b/kcontrol/performance/kcmperformance.cpp
@@ -16,8 +16,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-#include <qlayout.h>
-#include <qtabwidget.h>
+#include <tqlayout.h>
+#include <tqtabwidget.h>
#include <klocale.h>
#include <kdialog.h>
@@ -28,12 +28,12 @@
extern "C"
{
- KDE_EXPORT KCModule* create_performance( QWidget* parent_P, const char* name_P )
+ KDE_EXPORT KCModule* create_performance( TQWidget* parent_P, const char* name_P )
{
return new KCMPerformance::Config( parent_P, name_P );
}
- KDE_EXPORT KCModule* create_konqueror( QWidget* parent_P, const char* name_P )
+ KDE_EXPORT KCModule* create_konqueror( TQWidget* parent_P, const char* name_P )
{
return new KCMPerformance::KonquerorConfig( parent_P, name_P );
}
@@ -42,21 +42,21 @@ extern "C"
namespace KCMPerformance
{
-Config::Config( QWidget* parent_P, const char* )
+Config::Config( TQWidget* parent_P, const char* )
: KCModule( parent_P, "kcmperformance" )
{
setQuickHelp( i18n( "<h1>KDE Performance</h1>"
" You can configure settings that improve KDE performance here." ));
- QVBoxLayout *topLayout = new QVBoxLayout( this );
- QTabWidget* tabs = new QTabWidget( this );
+ TQVBoxLayout *topLayout = new TQVBoxLayout( this );
+ TQTabWidget* tabs = new TQTabWidget( this );
konqueror_widget = new Konqueror( tabs );
konqueror_widget->layout()->setMargin( KDialog::marginHint() );
- connect( konqueror_widget, SIGNAL( changed()), SLOT( changed()));
+ 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, SIGNAL( changed()), SLOT( changed()));
+ connect( system_widget, TQT_SIGNAL( changed()), TQT_SLOT( changed()));
tabs->addTab( system_widget, i18n( "System" ));
topLayout->add( tabs );
load();
@@ -85,7 +85,7 @@ void Config::defaults()
load( true );
}
-KonquerorConfig::KonquerorConfig( QWidget* parent_P, const char* )
+KonquerorConfig::KonquerorConfig( TQWidget* parent_P, const char* )
: KCModule( parent_P, "kcmperformance" )
{
setQuickHelp( i18n( "<h1>Konqueror Performance</h1>"
@@ -93,9 +93,9 @@ KonquerorConfig::KonquerorConfig( QWidget* parent_P, const char* )
" These include options for reusing already running instances"
" and for keeping instances preloaded." ));
- QVBoxLayout *topLayout = new QVBoxLayout( this );
+ TQVBoxLayout *topLayout = new TQVBoxLayout( this );
widget = new Konqueror( this );
- connect( widget, SIGNAL( changed()), SLOT( changed()));
+ connect( widget, TQT_SIGNAL( changed()), TQT_SLOT( changed()));
topLayout->add( widget );
load();
}
diff --git a/kcontrol/performance/kcmperformance.h b/kcontrol/performance/kcmperformance.h
index 13c3f9465..bb924b880 100644
--- a/kcontrol/performance/kcmperformance.h
+++ b/kcontrol/performance/kcmperformance.h
@@ -32,7 +32,7 @@ class Config
{
Q_OBJECT
public:
- Config( QWidget* parent_P, const char* name_P );
+ Config( TQWidget* parent_P, const char* name_P );
virtual void load();
virtual void load( bool useDefaults );
virtual void save();
@@ -47,7 +47,7 @@ class KonquerorConfig
{
Q_OBJECT
public:
- KonquerorConfig( QWidget* parent_P, const char* name_P );
+ KonquerorConfig( TQWidget* parent_P, const char* name_P );
virtual void load();
virtual void load( bool useDefaults );
virtual void save();
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();
}
diff --git a/kcontrol/performance/konqueror.h b/kcontrol/performance/konqueror.h
index bc17d2e4e..e948f6b7a 100644
--- a/kcontrol/performance/konqueror.h
+++ b/kcontrol/performance/konqueror.h
@@ -29,7 +29,7 @@ class Konqueror
{
Q_OBJECT
public:
- Konqueror( QWidget* parent_P = NULL );
+ Konqueror( TQWidget* parent_P = NULL );
void load(bool useDefaults);
void save();
void defaults();
@@ -38,7 +38,7 @@ class Konqueror
private slots:
void preload_count_changed( int );
private:
- QString allowed_parts;
+ TQString allowed_parts;
};
} // namespace
diff --git a/kcontrol/performance/system.cpp b/kcontrol/performance/system.cpp
index 97b5c5709..4a9ee001a 100644
--- a/kcontrol/performance/system.cpp
+++ b/kcontrol/performance/system.cpp
@@ -19,18 +19,18 @@
#include "system.h"
#include <kconfig.h>
-#include <qwhatsthis.h>
-#include <qcheckbox.h>
-#include <qlabel.h>
+#include <tqwhatsthis.h>
+#include <tqcheckbox.h>
+#include <tqlabel.h>
#include <klocale.h>
namespace KCMPerformance
{
-SystemWidget::SystemWidget( QWidget* parent_P )
+SystemWidget::SystemWidget( TQWidget* parent_P )
: System_ui( parent_P )
{
- QString tmp =
+ TQString tmp =
i18n( "<p>During startup KDE 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 (KSyCoCa)"
@@ -49,9 +49,9 @@ SystemWidget::SystemWidget( QWidget* parent_P )
" 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>" );
- QWhatsThis::add( cb_disable_kbuildsycoca, tmp );
- QWhatsThis::add( label_kbuildsycoca, tmp );
- connect( cb_disable_kbuildsycoca, SIGNAL( clicked()), SIGNAL( changed()));
+ TQWhatsThis::add( cb_disable_kbuildsycoca, tmp );
+ TQWhatsThis::add( label_kbuildsycoca, tmp );
+ connect( cb_disable_kbuildsycoca, TQT_SIGNAL( clicked()), TQT_SIGNAL( changed()));
defaults();
}
diff --git a/kcontrol/performance/system.h b/kcontrol/performance/system.h
index d788b2073..1358c8e79 100644
--- a/kcontrol/performance/system.h
+++ b/kcontrol/performance/system.h
@@ -31,7 +31,7 @@ class SystemWidget
{
Q_OBJECT
public:
- SystemWidget( QWidget* parent_P = NULL );
+ SystemWidget( TQWidget* parent_P = NULL );
void load( bool useDefaults );
void save();
void defaults();