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/preffrontend.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'src/preffrontend.cpp') diff --git a/src/preffrontend.cpp b/src/preffrontend.cpp index effeb69..2db9fdb 100644 --- a/src/preffrontend.cpp +++ b/src/preffrontend.cpp @@ -47,16 +47,16 @@ PrefFrontend::PrefFrontend(TQWidget* pParent, const char* szName) : load(); // Attempt to guess paths based on the user's PATH environment variable - connect(m_pGuessButton, SIGNAL(clicked()), this, - SLOT(slotGuessPaths())); + connect(m_pGuessButton, TQ_SIGNAL(clicked()), this, + TQ_SLOT(slotGuessPaths())); // Emit the modified() signal when a new path is set - connect(m_pCscopeURL, SIGNAL(textChanged(const TQString&)), this, - SIGNAL(modified())); - connect(m_pCtagsURL, SIGNAL(textChanged(const TQString&)), this, - SIGNAL(modified())); - connect(m_pDotURL, SIGNAL(textChanged(const TQString&)), this, - SIGNAL(modified())); + connect(m_pCscopeURL, TQ_SIGNAL(textChanged(const TQString&)), this, + TQ_SIGNAL(modified())); + connect(m_pCtagsURL, TQ_SIGNAL(textChanged(const TQString&)), this, + TQ_SIGNAL(modified())); + connect(m_pDotURL, TQ_SIGNAL(textChanged(const TQString&)), this, + TQ_SIGNAL(modified())); } /** @@ -115,10 +115,10 @@ void PrefFrontend::slotGuessPaths() pConf = new ConfigFrontend(true); // Show tests and results in the text widget - connect(pConf, SIGNAL(test(uint)), this, - SLOT(slotAutoConfigTest(uint))); - connect(pConf, SIGNAL(result(uint, const TQString&)), this, - SLOT(slotAutoConfigResult(uint, const TQString&))); + connect(pConf, TQ_SIGNAL(test(uint)), this, + TQ_SLOT(slotAutoConfigTest(uint))); + connect(pConf, TQ_SIGNAL(result(uint, const TQString&)), this, + TQ_SLOT(slotAutoConfigResult(uint, const TQString&))); // Run the script pConf->run(m_pCscopeURL->url(), m_pCtagsURL->url(), -- cgit v1.2.3