From 3b3f9ec8f31978030c17309fae48335bea5c1587 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 14 Jan 2024 12:33:20 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro --- kmail/configuredialog_p.cpp | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'kmail/configuredialog_p.cpp') diff --git a/kmail/configuredialog_p.cpp b/kmail/configuredialog_p.cpp index 83c13a31d..f244bc8e6 100644 --- a/kmail/configuredialog_p.cpp +++ b/kmail/configuredialog_p.cpp @@ -53,8 +53,8 @@ NewIdentityDialog::NewIdentityDialog( const TQStringList & identities, mLineEdit->setFocus(); hlay->addWidget( new TQLabel( mLineEdit, i18n("&New identity:"), page ) ); hlay->addWidget( mLineEdit, 1 ); - connect( mLineEdit, TQT_SIGNAL(textChanged(const TQString&)), - this, TQT_SLOT(slotEnableOK(const TQString&)) ); + connect( mLineEdit, TQ_SIGNAL(textChanged(const TQString&)), + this, TQ_SLOT(slotEnableOK(const TQString&)) ); mButtonGroup = new TQButtonGroup( page ); mButtonGroup->hide(); @@ -89,10 +89,10 @@ NewIdentityDialog::NewIdentityDialog( const TQStringList & identities, // enable/disable combobox and label depending on the third radio // button's state: - connect( radio, TQT_SIGNAL(toggled(bool)), - label, TQT_SLOT(setEnabled(bool)) ); - connect( radio, TQT_SIGNAL(toggled(bool)), - mComboBox, TQT_SLOT(setEnabled(bool)) ); + connect( radio, TQ_SIGNAL(toggled(bool)), + label, TQ_SLOT(setEnabled(bool)) ); + connect( radio, TQ_SIGNAL(toggled(bool)), + mComboBox, TQ_SLOT(setEnabled(bool)) ); enableButtonOK( false ); // since line edit is empty } @@ -305,12 +305,12 @@ ProfileDialog::ProfileDialog( TQWidget * parent, const char * name, bool modal ) setup(); - connect( mListView, TQT_SIGNAL(selectionChanged()), - TQT_SLOT(slotSelectionChanged()) ); - connect( mListView, TQT_SIGNAL(doubleClicked ( TQListViewItem *, const TQPoint &, int ) ), - TQT_SLOT(slotOk()) ); + connect( mListView, TQ_SIGNAL(selectionChanged()), + TQ_SLOT(slotSelectionChanged()) ); + connect( mListView, TQ_SIGNAL(doubleClicked ( TQListViewItem *, const TQPoint &, int ) ), + TQ_SLOT(slotOk()) ); - connect( this, TQT_SIGNAL(finished()), TQT_SLOT(delayedDestruct()) ); + connect( this, TQ_SIGNAL(finished()), TQ_SLOT(delayedDestruct()) ); enableButtonOK( false ); } @@ -375,8 +375,8 @@ ConfigModuleWithTabs::ConfigModuleWithTabs( TQWidget * parent, void ConfigModuleWithTabs::addTab( ConfigModuleTab* tab, const TQString & title ) { mTabWidget->addTab( tab, title ); - connect( tab, TQT_SIGNAL(changed( bool )), - this, TQT_SIGNAL(changed( bool )) ); + connect( tab, TQ_SIGNAL(changed( bool )), + this, TQ_SIGNAL(changed( bool )) ); } void ConfigModuleWithTabs::load() { -- cgit v1.2.1