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/querywidget.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'src/querywidget.cpp') diff --git a/src/querywidget.cpp b/src/querywidget.cpp index c28e051..b0f0755 100644 --- a/src/querywidget.cpp +++ b/src/querywidget.cpp @@ -50,18 +50,18 @@ QueryWidget::QueryWidget(TQWidget* pParent, const char* szName) : m_pQueryTabs->setHoverCloseButton(true); // Change the lock action state according to the current page - connect(m_pQueryTabs, SIGNAL(currentChanged(TQWidget*)), this, - SLOT(slotCurrentChanged(TQWidget*))); + connect(m_pQueryTabs, TQ_SIGNAL(currentChanged(TQWidget*)), this, + TQ_SLOT(slotCurrentChanged(TQWidget*))); // Close a query when its tab button is clicked - connect(m_pQueryTabs, SIGNAL(closeRequest(TQWidget*)), this, - SLOT(slotClosePage(TQWidget*))); + connect(m_pQueryTabs, TQ_SIGNAL(closeRequest(TQWidget*)), this, + TQ_SLOT(slotClosePage(TQWidget*))); // Show the menu when requested - connect(m_pQueryTabs, SIGNAL(contextMenu(const TQPoint&)), this, - SLOT(slotContextMenu(const TQPoint&))); - connect(m_pQueryTabs, SIGNAL(contextMenu(TQWidget*, const TQPoint&)), this, - SLOT(slotContextMenu(TQWidget*, const TQPoint&))); + connect(m_pQueryTabs, TQ_SIGNAL(contextMenu(const TQPoint&)), this, + TQ_SLOT(slotContextMenu(const TQPoint&))); + connect(m_pQueryTabs, TQ_SIGNAL(contextMenu(TQWidget*, const TQPoint&)), this, + TQ_SLOT(slotContextMenu(TQWidget*, const TQPoint&))); } /** @@ -228,8 +228,8 @@ void QueryWidget::addQueryPage() // Emit the lineRequested() signal when a query record is selected on // this page - connect(pPage, SIGNAL(lineRequested(const TQString&, uint)), this, - SLOT(slotRequestLine(const TQString&, uint))); + connect(pPage, TQ_SIGNAL(lineRequested(const TQString&, uint)), this, + TQ_SLOT(slotRequestLine(const TQString&, uint))); } /** @@ -594,8 +594,8 @@ void QueryWidget::findHistoryPage() // Emit the lineRequested() signal when a query record is selected on // this page - connect(m_pHistPage, SIGNAL(lineRequested(const TQString&, uint)), this, - SLOT(slotRequestLine(const TQString&, uint))); + connect(m_pHistPage, TQ_SIGNAL(lineRequested(const TQString&, uint)), this, + TQ_SLOT(slotRequestLine(const TQString&, uint))); } #include "querywidget.moc" -- cgit v1.2.3