From 40393e30bb743346b6b40bf130da35419c12ebdc Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 13 Jan 2024 17:34:53 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro (cherry picked from commit 1329ec6abbcb7b79cd960e0ca138f16598d5f11f) --- kdict/actions.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'kdict/actions.cpp') diff --git a/kdict/actions.cpp b/kdict/actions.cpp index 2448a2e9..f35dfbb4 100644 --- a/kdict/actions.cpp +++ b/kdict/actions.cpp @@ -50,15 +50,15 @@ int DictComboAction::plug( TQWidget *widget, int index ) bar->setItemAutoSized(id_,m_autoSized); if ( m_combo ) { - connect(bar->getCombo(id_), TQT_SIGNAL(activated(const TQString&)), TQT_SLOT(slotComboActivated(const TQString&))); - connect(bar->getCombo(id_), TQT_SIGNAL(activated(int)), TQT_SLOT(slotComboActivated(int))); + connect(bar->getCombo(id_), TQ_SIGNAL(activated(const TQString&)), TQ_SLOT(slotComboActivated(const TQString&))); + connect(bar->getCombo(id_), TQ_SIGNAL(activated(int)), TQ_SLOT(slotComboActivated(int))); if (m_editable) m_combo->setInsertionPolicy( TQComboBox::NoInsertion ); } addContainer( bar, id_ ); - connect( bar, TQT_SIGNAL( destroyed() ), this, TQT_SLOT( slotDestroyed() ) ); + connect( bar, TQ_SIGNAL( destroyed() ), this, TQ_SLOT( slotDestroyed() ) ); return containerCount() - 1; } @@ -222,7 +222,7 @@ int DictLabelAction::plug( TQWidget *widget, int index ) addContainer( tb, id ); - connect( tb, TQT_SIGNAL( destroyed() ), this, TQT_SLOT( slotDestroyed() ) ); + connect( tb, TQ_SIGNAL( destroyed() ), this, TQ_SLOT( slotDestroyed() ) ); m_label = label; @@ -284,12 +284,12 @@ int DictButtonAction::plug( TQWidget *widget, int index ) TQPushButton *button = new TQPushButton( text(), widget ); button->adjustSize(); - connect(button,TQT_SIGNAL(clicked()),this,TQT_SLOT(activate())); + connect(button,TQ_SIGNAL(clicked()),this,TQ_SLOT(activate())); tb->insertWidget( id, button->width(), button, index ); addContainer( tb, id ); - connect( tb, TQT_SIGNAL( destroyed() ), this, TQT_SLOT( slotDestroyed() ) ); + connect( tb, TQ_SIGNAL( destroyed() ), this, TQ_SLOT( slotDestroyed() ) ); m_button = button; -- cgit v1.2.1