summaryrefslogtreecommitdiffstats
path: root/languages/cpp/problemreporter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/problemreporter.cpp')
-rw-r--r--languages/cpp/problemreporter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/languages/cpp/problemreporter.cpp b/languages/cpp/problemreporter.cpp
index 32c078e1..ea1c3dc6 100644
--- a/languages/cpp/problemreporter.cpp
+++ b/languages/cpp/problemreporter.cpp
@@ -198,7 +198,7 @@ void ProblemReporter::filterList(KListView* listview, const TQString& level)
TQListViewItemIterator it( listview );
while ( it.current() )
{
- if ( it.current()->text(3).tqcontains(m_filterEdit->text(),false))
+ if ( it.current()->text(3).contains(m_filterEdit->text(),false))
{
new KListViewItem(m_filteredList,level,
it.current()->text(0), it.current()->text(1),
@@ -356,7 +356,7 @@ void ProblemReporter::reportProblem( const TQString& fileName, const Problem& p
m_markIface->addMark( p.line(), markType );
TQString msg = p.text();
- msg = msg.tqreplace( TQRegExp("\n"), "" );
+ msg = msg.replace( TQRegExp("\n"), "" );
TQString relFileName = m_cppSupport->project()->relativeProjectFile(fileName);