diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-28 21:16:10 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-28 21:38:27 +0900 |
commit | a3180d7d508dc046a75a887d43a7e6b2d5f02468 (patch) | |
tree | 6fc3295d8f5cf222b37b0721ed00b1a1f514cc96 /src/popupMessage.cpp | |
parent | fe71db0569f2ab1aa559a031aa9ad54003371aea (diff) | |
download | tork-a3180d7d508dc046a75a887d43a7e6b2d5f02468.tar.gz tork-a3180d7d508dc046a75a887d43a7e6b2d5f02468.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/popupMessage.cpp')
-rw-r--r-- | src/popupMessage.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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<TQCheckBox*>(child( "showWarnings" ))->setText(TQString("%1 in Future.").arg(m_name)); static_cast<TQCheckBox*>(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()) ); } |