From 1c65be77cd84b454f3fe69f211849a712ad99ed0 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 (cherry picked from commit a4241b7911d2e0b36edfb02f616b8b282050c0ec) --- tdedebugdialog/kabstractdebugdialog.cpp | 8 ++++---- tdedebugdialog/tdedebugdialog.cpp | 20 ++++++++++---------- tdedebugdialog/tdelistdebugdialog.cpp | 8 ++++---- 3 files changed, 18 insertions(+), 18 deletions(-) (limited to 'tdedebugdialog') diff --git a/tdedebugdialog/kabstractdebugdialog.cpp b/tdedebugdialog/kabstractdebugdialog.cpp index 10c0c2a00..d7c84a499 100644 --- a/tdedebugdialog/kabstractdebugdialog.cpp +++ b/tdedebugdialog/kabstractdebugdialog.cpp @@ -64,10 +64,10 @@ void KAbstractDebugDialog::buildButtons( TQVBoxLayout * topLayout ) pApplyButton->setFixedWidth( w4 ); pCancelButton->setFixedWidth( w4 ); - connect( pHelpButton, TQT_SIGNAL( clicked() ), TQT_SLOT( slotShowHelp() ) ); - connect( pOKButton, TQT_SIGNAL( clicked() ), TQT_SLOT( accept() ) ); - connect( pApplyButton, TQT_SIGNAL( clicked() ), TQT_SLOT( slotApply() ) ); - connect( pCancelButton, TQT_SIGNAL( clicked() ), TQT_SLOT( reject() ) ); + connect( pHelpButton, TQ_SIGNAL( clicked() ), TQ_SLOT( slotShowHelp() ) ); + connect( pOKButton, TQ_SIGNAL( clicked() ), TQ_SLOT( accept() ) ); + connect( pApplyButton, TQ_SIGNAL( clicked() ), TQ_SLOT( slotApply() ) ); + connect( pCancelButton, TQ_SIGNAL( clicked() ), TQ_SLOT( reject() ) ); } void KAbstractDebugDialog::slotShowHelp() diff --git a/tdedebugdialog/tdedebugdialog.cpp b/tdedebugdialog/tdedebugdialog.cpp index b5ced18a0..6a1043345 100644 --- a/tdedebugdialog/tdedebugdialog.cpp +++ b/tdedebugdialog/tdedebugdialog.cpp @@ -79,8 +79,8 @@ TDEDebugDialog::TDEDebugDialog( TQStringList areaList, TQWidget *parent, const c pInfoLabel1 = new TQLabel( i18n("Output to:"), pInfoGroup ); vbox->addWidget( pInfoLabel1 ); pInfoCombo = new TQComboBox( false, pInfoGroup ); - connect(pInfoCombo, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotDestinationChanged(int))); + connect(pInfoCombo, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotDestinationChanged(int))); vbox->addWidget( pInfoCombo ); pInfoCombo->insertStringList( destList ); pInfoLabel2 = new TQLabel( i18n("Filename:"), pInfoGroup ); @@ -104,8 +104,8 @@ TDEDebugDialog::TDEDebugDialog( TQStringList areaList, TQWidget *parent, const c pWarnLabel1 = new TQLabel( i18n("Output to:"), pWarnGroup ); vbox->addWidget( pWarnLabel1 ); pWarnCombo = new TQComboBox( false, pWarnGroup ); - connect(pWarnCombo, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotDestinationChanged(int))); + connect(pWarnCombo, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotDestinationChanged(int))); vbox->addWidget( pWarnCombo ); pWarnCombo->insertStringList( destList ); pWarnLabel2 = new TQLabel( i18n("Filename:"), pWarnGroup ); @@ -129,8 +129,8 @@ TDEDebugDialog::TDEDebugDialog( TQStringList areaList, TQWidget *parent, const c pErrorLabel1 = new TQLabel( i18n("Output to:"), pErrorGroup ); vbox->addWidget( pErrorLabel1 ); pErrorCombo = new TQComboBox( false, pErrorGroup ); - connect(pErrorCombo, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotDestinationChanged(int))); + connect(pErrorCombo, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotDestinationChanged(int))); vbox->addWidget( pErrorCombo ); pErrorCombo->insertStringList( destList ); pErrorLabel2 = new TQLabel( i18n("Filename:"), pErrorGroup ); @@ -154,8 +154,8 @@ TDEDebugDialog::TDEDebugDialog( TQStringList areaList, TQWidget *parent, const c pFatalLabel1 = new TQLabel( i18n("Output to:"), pFatalGroup ); vbox->addWidget( pFatalLabel1 ); pFatalCombo = new TQComboBox( false, pFatalGroup ); - connect(pFatalCombo, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotDestinationChanged(int))); + connect(pFatalCombo, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotDestinationChanged(int))); vbox->addWidget( pFatalCombo ); pFatalCombo->insertStringList( destList ); pFatalLabel2 = new TQLabel( i18n("Filename:"), pFatalGroup ); @@ -179,8 +179,8 @@ TDEDebugDialog::TDEDebugDialog( TQStringList areaList, TQWidget *parent, const c buildButtons( topLayout ); - connect( pDebugAreas, TQT_SIGNAL( activated( const TQString &) ), - TQT_SLOT( slotDebugAreaChanged( const TQString & ) ) ); + connect( pDebugAreas, TQ_SIGNAL( activated( const TQString &) ), + TQ_SLOT( slotDebugAreaChanged( const TQString & ) ) ); // Get initial values ("initial" is understood by the slot) slotDebugAreaChanged( "0 initial" ); diff --git a/tdedebugdialog/tdelistdebugdialog.cpp b/tdedebugdialog/tdelistdebugdialog.cpp index d447b3747..4c3bb9f0e 100644 --- a/tdedebugdialog/tdelistdebugdialog.cpp +++ b/tdedebugdialog/tdelistdebugdialog.cpp @@ -40,8 +40,8 @@ TDEListDebugDialog::TDEListDebugDialog( TQStringList areaList, TQWidget *parent, m_incrSearch = new KLineEdit( this ); lay->addWidget( m_incrSearch ); - connect( m_incrSearch, TQT_SIGNAL( textChanged( const TQString& ) ), - TQT_SLOT( generateCheckBoxes( const TQString& ) ) ); + connect( m_incrSearch, TQ_SIGNAL( textChanged( const TQString& ) ), + TQ_SLOT( generateCheckBoxes( const TQString& ) ) ); TQScrollView * scrollView = new TQScrollView( this ); scrollView->setResizePolicy( TQScrollView::AutoOneFit ); @@ -58,8 +58,8 @@ TDEListDebugDialog::TDEListDebugDialog( TQStringList areaList, TQWidget *parent, selectButs->addWidget( all ); selectButs->addWidget( none ); - connect( all, TQT_SIGNAL( clicked() ), this, TQT_SLOT( selectAll() ) ); - connect( none, TQT_SIGNAL( clicked() ), this, TQT_SLOT( deSelectAll() ) ); + connect( all, TQ_SIGNAL( clicked() ), this, TQ_SLOT( selectAll() ) ); + connect( none, TQ_SIGNAL( clicked() ), this, TQ_SLOT( deSelectAll() ) ); buildButtons( lay ); resize( 350, 400 ); -- cgit v1.2.1