summaryrefslogtreecommitdiffstats
path: root/languages/ada/problemreporter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/ada/problemreporter.cpp')
-rw-r--r--languages/ada/problemreporter.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/languages/ada/problemreporter.cpp b/languages/ada/problemreporter.cpp
index 1b9b5bc4..23ef2981 100644
--- a/languages/ada/problemreporter.cpp
+++ b/languages/ada/problemreporter.cpp
@@ -185,7 +185,7 @@ void ProblemReporter::reparse()
}
/* Temporarily deactivated (crashes)*/
- if (!m_adaSupport->fileExtensions ().tqcontains (TQFileInfo (m_filename).extension ()))
+ if (!m_adaSupport->fileExtensions ().contains (TQFileInfo (m_filename).extension ()))
{
m_bgParser = new BackgroundParser( this, m_editor->text(), m_filename );
m_bgParser->start();
@@ -211,7 +211,7 @@ void ProblemReporter::reportError( TQString message,
new ProblemItem( this,
"error",
- message.tqreplace( TQRegExp("\n"), "" ),
+ message.replace( TQRegExp("\n"), "" ),
filename,
TQString::number( line ),
TQString::number( column ) );
@@ -223,7 +223,7 @@ void ProblemReporter::reportWarning( TQString message,
{
new ProblemItem( this,
"warning",
- message.tqreplace( TQRegExp("\n"), "" ),
+ message.replace( TQRegExp("\n"), "" ),
filename,
TQString::number( line ),
TQString::number( column ) );
@@ -235,7 +235,7 @@ void ProblemReporter::reportMessage( TQString message,
{
new TQListViewItem( this,
"message",
- message.tqreplace( TQRegExp("\n"), "" ),
+ message.replace( TQRegExp("\n"), "" ),
filename,
TQString::number( line ),
TQString::number( column ) );