summaryrefslogtreecommitdiffstats
path: root/src/locater.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/locater.cpp')
-rw-r--r--src/locater.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/locater.cpp b/src/locater.cpp
index 4072209..f221a6e 100644
--- a/src/locater.cpp
+++ b/src/locater.cpp
@@ -23,7 +23,7 @@
* (at your option) any later version. *
***************************************************************************/
-#include <qtextcodec.h>
+#include <tqtextcodec.h>
#include <kdebug.h>
#include <kstandarddirs.h>
@@ -31,15 +31,15 @@
#include "locater.h"
-Locater::Locater(QObject *parent, const char *name)
- : QObject(parent, name), m_process(QTextCodec::codecForLocale())
+Locater::Locater(TQObject *tqparent, const char *name)
+ : TQObject(tqparent, name), m_process(TQTextCodec::codecForLocale())
{
DEBUGSTR << "Locater::Locater" << endl;
- connect(&m_process, SIGNAL(processExited(KProcess*)),
- this, SLOT(finished(KProcess*)));
- connect(&m_process, SIGNAL(readReady(KProcIO*)),
- this, SLOT(gotOutput(KProcIO*)));
+ connect(&m_process, TQT_SIGNAL(processExited(KProcess*)),
+ this, TQT_SLOT(finished(KProcess*)));
+ connect(&m_process, TQT_SIGNAL(readReady(KProcIO*)),
+ this, TQT_SLOT(gotOutput(KProcIO*)));
setupLocate();
}
@@ -51,7 +51,7 @@ Locater::~Locater()
}
-void Locater::setupLocate(const QString& binary, const QString& additionalArguments)
+void Locater::setupLocate(const TQString& binary, const TQString& additionalArguments)
{
DEBUGSTR << "Locater::setupLocate(" << binary << ", " << additionalArguments << ")" << endl;
@@ -69,11 +69,11 @@ void Locater::setupLocate(const QString& binary, const QString& additionalArgume
m_binary = binary;
}
m_additionalArguments = additionalArguments;
- m_binaryExists = KStandardDirs::findExe(m_binary) != QString::null;
+ m_binaryExists = KStandardDirs::findExe(m_binary) != TQString();
}
-bool Locater::locate(const QString& pattern, bool ignoreCase, bool regExp)
+bool Locater::locate(const TQString& pattern, bool ignoreCase, bool regExp)
{
DEBUGSTR << "Locater::locate(" << pattern << "," << ignoreCase << "," << regExp << ")" << endl;
@@ -107,8 +107,8 @@ void Locater::gotOutput(KProcIO* /*proc*/)
{
//DEBUGSTR << "Locater::gotOutput" << endl;
- QStringList items;
- QString line;
+ TQStringList items;
+ TQString line;
while (m_process.readln(line) != -1) {
//DEBUGSTR << "OUTPUT>> '" << line << "'" << endl;