From b035a6c47ef46ee310c0574ecd3bf6eb15cbca5c Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 28 Dec 2023 16:37:45 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro (cherry picked from commit 11f3716a1c82b43f92dc32083101558f3ec47f27) --- src/tabwidget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tabwidget.cpp') diff --git a/src/tabwidget.cpp b/src/tabwidget.cpp index 405c368..d9064e4 100644 --- a/src/tabwidget.cpp +++ b/src/tabwidget.cpp @@ -42,7 +42,7 @@ TabWidget::TabWidget(TQWidget* pParent, const char* szName) : m_pMenu = new TQPopupMenu(this); // Set the current tab based on the menu selection - connect(m_pMenu, SIGNAL(activated(int)), this, SLOT(setCurrentPage(int))); + connect(m_pMenu, TQ_SIGNAL(activated(int)), this, TQ_SLOT(setCurrentPage(int))); // Create a button at the top-right corner of the tab widget m_pButton = new TQToolButton(this); @@ -52,7 +52,7 @@ TabWidget::TabWidget(TQWidget* pParent, const char* szName) : setCornerWidget(m_pButton, TopRight); // Show the popup-menu when the button is clicked - connect(m_pButton, SIGNAL(clicked()), this, SLOT(slotShowTabList())); + connect(m_pButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotShowTabList())); } /** -- cgit v1.2.1