summaryrefslogtreecommitdiffstats
path: root/kate/make/plugin_katemake.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kate/make/plugin_katemake.cpp')
-rw-r--r--kate/make/plugin_katemake.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kate/make/plugin_katemake.cpp b/kate/make/plugin_katemake.cpp
index 73f61cb..f61cfe0 100644
--- a/kate/make/plugin_katemake.cpp
+++ b/kate/make/plugin_katemake.cpp
@@ -132,7 +132,7 @@ public:
(lineno > 0 ? TQString::number(lineno) : TQString()),
message)
{
- m_isError = !message.tqcontains(TQString::tqfromLatin1("warning"));
+ m_isError = !message.contains(TQString::tqfromLatin1("warning"));
m_lineno = lineno;
m_serial = s_serial++;
}
@@ -403,21 +403,21 @@ void PluginKateMakeView::processLine(const TQString &l)
kdDebug() << "Got line " << l ;
- if (!filenameDetector && l.tqfind(source_prefix)!=0)
+ if (!filenameDetector && l.find(source_prefix)!=0)
{
/* ErrorMessage *e = */ (void) new ErrorMessage(this,l);
return;
}
- if (filenameDetector && l.tqfind(*filenameDetector)<0)
+ if (filenameDetector && l.find(*filenameDetector)<0)
{
ErrorMessage *e = new ErrorMessage(this,l);
kdDebug() << "Got message(1) #" << e->serial() << endl;
return;
}
- int ofs1 = l.tqfind(':');
- int ofs2 = l.tqfind(':',ofs1+1);
+ int ofs1 = l.find(':');
+ int ofs2 = l.find(':',ofs1+1);
//
TQString m = l.mid(ofs2+1);
m.remove('\n');
@@ -452,7 +452,7 @@ void PluginKateMakeView::slotReceivedProcStderr(KProcess *, char *result, int le
output_line += l;
int nl_p = -1;
- while ((nl_p = output_line.tqfind('\n')) > 1)
+ while ((nl_p = output_line.find('\n')) > 1)
{
processLine(output_line.left(nl_p+1));
output_line.remove(0,nl_p+1);