diff options
Diffstat (limited to 'src/preffrontend.cpp')
-rw-r--r-- | src/preffrontend.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
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 <qcheckbox.h> -#include <qtextedit.h> +#include <ntqcheckbox.h> +#include <ntqtextedit.h> #include <kurlrequester.h> #include <klineedit.h> #include <kstandarddirs.h> @@ -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"; |