summaryrefslogtreecommitdiffstats
path: root/src/locater.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/locater.cpp')
-rw-r--r--src/locater.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/locater.cpp b/src/locater.cpp
index 68c1d75..b74dfd8 100644
--- a/src/locater.cpp
+++ b/src/locater.cpp
@@ -34,7 +34,7 @@
Locater::Locater(TQObject *parent, const char *name)
: TQObject(parent, name), m_process(TQTextCodec::codecForLocale())
{
- DEBUGSTR << "Locater::Locater" << endl;
+ kdDebug(7134) << "Locater::Locater" << endl;
connect(&m_process, TQT_SIGNAL(processExited(TDEProcess*)),
this, TQT_SLOT(finished(TDEProcess*)));
@@ -47,13 +47,13 @@ Locater::Locater(TQObject *parent, const char *name)
Locater::~Locater()
{
- DEBUGSTR << "Locater::~Locater" << endl;
+ kdDebug(7134) << "Locater::~Locater" << endl;
}
void Locater::setupLocate(const TQString& binary, const TQString& additionalArguments)
{
- DEBUGSTR << "Locater::setupLocate(" << binary << ", " << additionalArguments << ")" << endl;
+ kdDebug(7134) << "Locater::setupLocate(" << binary << ", " << additionalArguments << ")" << endl;
// Automatically choose the correct binary if not specified.
if (binary.isEmpty()) {
@@ -64,7 +64,7 @@ void Locater::setupLocate(const TQString& binary, const TQString& additionalArgu
} else {
m_binary = "locate";
}
- DEBUGSTR << "Using binary:" << m_binary << endl;
+ kdDebug(7134) << "Using binary:" << m_binary << endl;
} else {
m_binary = binary;
}
@@ -75,7 +75,7 @@ void Locater::setupLocate(const TQString& binary, const TQString& additionalArgu
bool Locater::locate(const TQString& pattern, bool ignoreCase, bool regExp)
{
- DEBUGSTR << "Locater::locate(" << pattern << "," << ignoreCase << "," << regExp << ")" << endl;
+ kdDebug(7134) << "Locater::locate(" << pattern << "," << ignoreCase << "," << regExp << ")" << endl;
m_process.resetAll();
m_process << m_binary;
@@ -96,7 +96,7 @@ bool Locater::locate(const TQString& pattern, bool ignoreCase, bool regExp)
void Locater::stop()
{
- DEBUGSTR << "Locater::stop()" << endl;
+ kdDebug(7134) << "Locater::stop()" << endl;
m_process.kill();
emit finished();
@@ -105,13 +105,13 @@ void Locater::stop()
void Locater::gotOutput(KProcIO* /*proc*/)
{
- //DEBUGSTR << "Locater::gotOutput" << endl;
+ //kdDebug(7134) << "Locater::gotOutput" << endl;
TQStringList items;
TQString line;
while (m_process.readln(line) != -1) {
- //DEBUGSTR << "OUTPUT>> '" << line << "'" << endl;
+ //kdDebug(7134) << "OUTPUT>> '" << line << "'" << endl;
items << line;
}
@@ -122,7 +122,7 @@ void Locater::gotOutput(KProcIO* /*proc*/)
void Locater::finished(TDEProcess* /*proc*/)
{
- DEBUGSTR << "Locater::finished" << endl;
+ kdDebug(7134) << "Locater::finished" << endl;
emit finished();
}