From a4241b7911d2e0b36edfb02f616b8b282050c0ec Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 12 Jan 2024 10:51:50 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro --- kpersonalizer/kcountrypage.cpp | 4 ++-- kpersonalizer/kpersonalizer.cpp | 10 +++++----- kpersonalizer/krefinepage.cpp | 2 +- kpersonalizer/tdestylepage.cpp | 4 ++-- 4 files changed, 10 insertions(+), 10 deletions(-) (limited to 'kpersonalizer') diff --git a/kpersonalizer/kcountrypage.cpp b/kpersonalizer/kcountrypage.cpp index cec71bae8..0384ff2b8 100644 --- a/kpersonalizer/kcountrypage.cpp +++ b/kpersonalizer/kcountrypage.cpp @@ -37,8 +37,8 @@ KCountryPage::KCountryPage(TQWidget *parent, const char *name ) : KCountryPageDl px_introSidebar->setPixmap(UserIcon("step1.png")); - connect(cb_country, TQT_SIGNAL(activated(const TQString &)), TQT_SLOT(setLangForCountry(const TQString &))); - connect(cb_language, TQT_SIGNAL(activated(const TQString &)), TQT_SLOT(setLanguageChanged())); + connect(cb_country, TQ_SIGNAL(activated(const TQString &)), TQ_SLOT(setLangForCountry(const TQString &))); + connect(cb_language, TQ_SIGNAL(activated(const TQString &)), TQ_SLOT(setLanguageChanged())); // naturally, the language is not changed on startup b_savedLanguageChanged = false; diff --git a/kpersonalizer/kpersonalizer.cpp b/kpersonalizer/kpersonalizer.cpp index 86b0a5b4a..cef8619ea 100644 --- a/kpersonalizer/kpersonalizer.cpp +++ b/kpersonalizer/kpersonalizer.cpp @@ -90,9 +90,9 @@ KPersonalizer::KPersonalizer(TQWidget *parent, const char *name) locale = new TDELocale("kpersonalizer"); locale->setLanguage(TDELocale::defaultLanguage()); - connect(ospage, TQT_SIGNAL(selectedOS(const TQString&)), stylepage, TQT_SLOT(presetStyle(const TQString&))); - connect(ospage, TQT_SIGNAL(selectedOS(const TQString&)), eyecandy, TQT_SLOT(slotPresetSlider(const TQString&))); - connect(refinepage->pb_kcontrol, TQT_SIGNAL(clicked()), this, TQT_SLOT(accept())); + connect(ospage, TQ_SIGNAL(selectedOS(const TQString&)), stylepage, TQ_SLOT(presetStyle(const TQString&))); + connect(ospage, TQ_SIGNAL(selectedOS(const TQString&)), eyecandy, TQ_SLOT(slotPresetSlider(const TQString&))); + connect(refinepage->pb_kcontrol, TQ_SIGNAL(clicked()), this, TQ_SLOT(accept())); setPosition(); @@ -125,7 +125,7 @@ void KPersonalizer::next() { else if(currentPage()==eyecandy){ eye_dirty=true; // set the dirty flag, changes done that need reverting eyecandy->save(); - TQTimer::singleShot(0, this, TQT_SLOT(slotNext())); + TQTimer::singleShot(0, this, TQ_SLOT(slotNext())); } else if(currentPage()==stylepage){ style_dirty=true; // set the dirty flag, changes done that need reverting @@ -215,7 +215,7 @@ void KPersonalizer::slotRestart() { } void KPersonalizer::delayedRestart() { - TQTimer::singleShot(0, this, TQT_SLOT(slotRestart())); + TQTimer::singleShot(0, this, TQ_SLOT(slotRestart())); } /** this session is restarted, so we want to start with ospage */ diff --git a/kpersonalizer/krefinepage.cpp b/kpersonalizer/krefinepage.cpp index 568967690..32c7370ae 100644 --- a/kpersonalizer/krefinepage.cpp +++ b/kpersonalizer/krefinepage.cpp @@ -28,7 +28,7 @@ KRefinePage::KRefinePage(TQWidget *parent, const char *name ) : KRefinePageDlg(parent,name) { px_finishSidebar->setPixmap(UserIcon("step5.png")); - connect( pb_kcontrol, TQT_SIGNAL(clicked()), TQT_SLOT(startKControl()) ); + connect( pb_kcontrol, TQ_SIGNAL(clicked()), TQ_SLOT(startKControl()) ); if( KPersonalizer::beforeSession()) { pb_kcontrol->hide(); lb_kcontrol->hide(); diff --git a/kpersonalizer/tdestylepage.cpp b/kpersonalizer/tdestylepage.cpp index 5c85f402c..2fd4a8419 100644 --- a/kpersonalizer/tdestylepage.cpp +++ b/kpersonalizer/tdestylepage.cpp @@ -75,8 +75,8 @@ TDEStylePage::TDEStylePage(TQWidget *parent, const char *name ) : TDEStylePageDl platinum->setText( 0, i18n( "Platinum" ) ); platinum->setText( 1, i18n( "The platinum style" ) ); - connect(klv_styles, TQT_SIGNAL(selectionChanged()), - this, TQT_SLOT(slotCurrentChanged())); + connect(klv_styles, TQ_SIGNAL(selectionChanged()), + this, TQ_SLOT(slotCurrentChanged())); // Note: if the default is changed here it needs to be changed in tdebase/twin/plugins.cpp // and tdebase/twin/kcmtwin/twindecoration/twindecoration.cpp as well. -- cgit v1.2.1