diff options
author | Michele Calgaro <[email protected]> | 2024-01-12 10:51:50 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-16 10:04:33 +0900 |
commit | 1c65be77cd84b454f3fe69f211849a712ad99ed0 (patch) | |
tree | f9309bc873f0f7838ee21373c32d5fd388da79d9 /kcontrol/performance | |
parent | 55ba7bff2cd71ef2582b43c336afc55325b48a60 (diff) | |
download | tdebase-1c65be77cd84b454f3fe69f211849a712ad99ed0.tar.gz tdebase-1c65be77cd84b454f3fe69f211849a712ad99ed0.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit a4241b7911d2e0b36edfb02f616b8b282050c0ec)
Diffstat (limited to 'kcontrol/performance')
-rw-r--r-- | kcontrol/performance/kcmperformance.cpp | 6 | ||||
-rw-r--r-- | kcontrol/performance/konqueror.cpp | 14 | ||||
-rw-r--r-- | kcontrol/performance/system.cpp | 2 |
3 files changed, 11 insertions, 11 deletions
diff --git a/kcontrol/performance/kcmperformance.cpp b/kcontrol/performance/kcmperformance.cpp index 84959e34d..c6d1d9068 100644 --- a/kcontrol/performance/kcmperformance.cpp +++ b/kcontrol/performance/kcmperformance.cpp @@ -52,11 +52,11 @@ Config::Config( TQWidget* parent_P, const char* ) tabs = new TQTabWidget( this ); konqueror_widget = new Konqueror( tabs ); konqueror_widget->layout()->setMargin( KDialog::marginHint() ); - connect( konqueror_widget, TQT_SIGNAL( changed()), TQT_SLOT( changed())); + connect( konqueror_widget, TQ_SIGNAL( changed()), TQ_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())); + connect( system_widget, TQ_SIGNAL( changed()), TQ_SLOT( changed())); tabs->addTab( system_widget, i18n( "System" )); topLayout->add( tabs ); load(); @@ -110,7 +110,7 @@ KonquerorConfig::KonquerorConfig( TQWidget* parent_P, const char* ) TQVBoxLayout *topLayout = new TQVBoxLayout( this ); widget = new Konqueror( this ); - connect( widget, TQT_SIGNAL( changed()), TQT_SLOT( changed())); + connect( widget, TQ_SIGNAL( changed()), TQ_SLOT( changed())); topLayout->add( widget ); load(); } diff --git a/kcontrol/performance/konqueror.cpp b/kcontrol/performance/konqueror.cpp index 8cd82699b..199522729 100644 --- a/kcontrol/performance/konqueror.cpp +++ b/kcontrol/performance/konqueror.cpp @@ -51,9 +51,9 @@ Konqueror::Konqueror( TQWidget* parent_P ) "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())); + connect( rb_never_reuse, TQ_SIGNAL( clicked()), TQ_SIGNAL( changed())); + connect( rb_file_browsing_reuse, TQ_SIGNAL( clicked()), TQ_SIGNAL( changed())); + connect( rb_always_reuse, TQ_SIGNAL( clicked()), TQ_SIGNAL( changed())); rb_file_browsing_reuse->setChecked( true ); TQString tmp = @@ -77,10 +77,10 @@ Konqueror::Konqueror( TQWidget* parent_P ) "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())); + connect( sb_preload_count, TQ_SIGNAL( valueChanged( int )), TQ_SLOT( preload_count_changed( int ))); + connect( sb_preload_count, TQ_SIGNAL( valueChanged( int )), TQ_SIGNAL( changed())); + connect( cb_preload_on_startup, TQ_SIGNAL( clicked()), TQ_SIGNAL( changed())); + connect( cb_always_have_preloaded, TQ_SIGNAL( clicked()), TQ_SIGNAL( changed())); defaults(); } diff --git a/kcontrol/performance/system.cpp b/kcontrol/performance/system.cpp index 056e78193..43e8c4c43 100644 --- a/kcontrol/performance/system.cpp +++ b/kcontrol/performance/system.cpp @@ -51,7 +51,7 @@ SystemWidget::SystemWidget( TQWidget* parent_P ) " 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())); + connect( cb_disable_tdebuildsycoca, TQ_SIGNAL( clicked()), TQ_SIGNAL( changed())); defaults(); } |