From 84f5a315c3429b47a7eff15e626e2efdbe4f6e5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Tue, 8 Oct 2013 00:13:25 +0200 Subject: Initial TQt conversion --- src/preffrontend.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'src/preffrontend.cpp') diff --git a/src/preffrontend.cpp b/src/preffrontend.cpp index 3bedda7..526798f 100644 --- a/src/preffrontend.cpp +++ b/src/preffrontend.cpp @@ -25,8 +25,8 @@ * ***************************************************************************/ -#include -#include +#include +#include #include #include #include @@ -40,7 +40,7 @@ * @param pParent The parent widget * @param szName The widget's name */ -PrefFrontend::PrefFrontend(QWidget* pParent, const char* szName) : +PrefFrontend::PrefFrontend(TQWidget* pParent, const char* szName) : PrefFrontendLayout(pParent, szName) { // Set initial values @@ -51,11 +51,11 @@ PrefFrontend::PrefFrontend(QWidget* pParent, const char* szName) : SLOT(slotGuessPaths())); // Emit the modified() signal when a new path is set - connect(m_pCscopeURL, SIGNAL(textChanged(const QString&)), this, + connect(m_pCscopeURL, SIGNAL(textChanged(const TQString&)), this, SIGNAL(modified())); - connect(m_pCtagsURL, SIGNAL(textChanged(const QString&)), this, + connect(m_pCtagsURL, SIGNAL(textChanged(const TQString&)), this, SIGNAL(modified())); - connect(m_pDotURL, SIGNAL(textChanged(const QString&)), this, + connect(m_pDotURL, SIGNAL(textChanged(const TQString&)), this, SIGNAL(modified())); } @@ -94,7 +94,7 @@ void PrefFrontend::apply() * edit widgets. By emitting the modified() signal, the widget notifies the * parent dialog it should enable the "Apply" button. */ -void PrefFrontend::slotChanged(const QString&) +void PrefFrontend::slotChanged(const TQString&) { emit modified(); } @@ -117,8 +117,8 @@ void PrefFrontend::slotGuessPaths() // Show tests and results in the text widget connect(pConf, SIGNAL(test(uint)), this, SLOT(slotAutoConfigTest(uint))); - connect(pConf, SIGNAL(result(uint, const QString&)), this, - SLOT(slotAutoConfigResult(uint, const QString&))); + connect(pConf, SIGNAL(result(uint, const TQString&)), this, + SLOT(slotAutoConfigResult(uint, const TQString&))); // Run the script pConf->run(m_pCscopeURL->url(), m_pCtagsURL->url(), @@ -175,9 +175,9 @@ void PrefFrontend::slotAutoConfigTest(uint nType) * @param nType The type of test that was executed * @param sResult The test's result */ -void PrefFrontend::slotAutoConfigResult(uint nType, const QString& sResult) +void PrefFrontend::slotAutoConfigResult(uint nType, const TQString& sResult) { - QString sLine; + TQString sLine; sLine = sResult + "\n"; -- cgit v1.2.1