From 01627fbd795c62fb7f6e8f0bce8ae6cf3dc5b6de Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 28 Dec 2023 21:16:10 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro (cherry picked from commit a3180d7d508dc046a75a887d43a7e6b2d5f02468) --- src/popupMessage.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/popupMessage.cpp') diff --git a/src/popupMessage.cpp b/src/popupMessage.cpp index 37b9112..9b67d78 100644 --- a/src/popupMessage.cpp +++ b/src/popupMessage.cpp @@ -107,16 +107,16 @@ PopupMessage::PopupMessage( TQWidget *parent, TQWidget *anchor, int timeout, con hbox->add( new TQCheckBox( this, "showWarnings" ) ); static_cast(child( "showWarnings" ))->setText(TQString("%1 in Future.").arg(m_name)); static_cast(child( "showWarnings" ))->setChecked(TRUE); - connect( child( "showWarnings" ), SIGNAL(toggled( bool )), SLOT(toggled( bool )) ); + connect( child( "showWarnings" ), TQ_SIGNAL(toggled( bool )), TQ_SLOT(toggled( bool )) ); } hbox->addItem( new TQSpacerItem( 4, 4, TQSizePolicy::Expanding, TQSizePolicy::Preferred ) ); hbox->add( new KPushButton( KStdGuiItem::yes(), this, "yesButton" ) ); hbox->add( new KPushButton( KStdGuiItem::no(), this, "closeButton" ) ); hbox->add( new KPushButton( KStdGuiItem::ok(), this, "okButton" ) ); - connect( child( "yesButton" ), SIGNAL(clicked()), SLOT(yes()) ); - connect( child( "closeButton" ), SIGNAL(clicked()), SLOT(no()) ); - connect( child( "okButton" ), SIGNAL(clicked()), SLOT(no()) ); + connect( child( "yesButton" ), TQ_SIGNAL(clicked()), TQ_SLOT(yes()) ); + connect( child( "closeButton" ), TQ_SIGNAL(clicked()), TQ_SLOT(no()) ); + connect( child( "okButton" ), TQ_SIGNAL(clicked()), TQ_SLOT(no()) ); } -- cgit v1.2.1