summaryrefslogtreecommitdiffstats
path: root/parts/outputviews/makewidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parts/outputviews/makewidget.cpp')
-rw-r--r--parts/outputviews/makewidget.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/parts/outputviews/makewidget.cpp b/parts/outputviews/makewidget.cpp
index 4734408f..a35a3d3c 100644
--- a/parts/outputviews/makewidget.cpp
+++ b/parts/outputviews/makewidget.cpp
@@ -247,20 +247,20 @@ void MakeWidget::startNextJob()
currentCommand = *it;
commandList.remove(it);
- int i = currentCommand.tqfindRev(" gmake");
+ int i = currentCommand.findRev(" gmake");
if ( i == -1 )
- i = currentCommand.tqfindRev(" make");
+ i = currentCommand.findRev(" make");
if ( i == -1 )
m_bCompiling = false;
else
{
TQString s = currentCommand.right(currentCommand.length() - i);
- if ( s.tqcontains("configure ") ||
- s.tqcontains(" Makefile.cvs") ||
- s.tqcontains(" clean") ||
- s.tqcontains(" distclean") ||
- s.tqcontains(" package-messages") ||
- s.tqcontains(" install") )
+ if ( s.contains("configure ") ||
+ s.contains(" Makefile.cvs") ||
+ s.contains(" clean") ||
+ s.contains(" distclean") ||
+ s.contains(" package-messages") ||
+ s.contains(" install") )
{
m_bCompiling = false;
}
@@ -337,10 +337,10 @@ void MakeWidget::copy()
selection.remove((selection.length()-1) - removeend, removeend);
}
- selection.tqreplace("&lt;","<");
- selection.tqreplace("&gt;",">");
- selection.tqreplace("&quot;","\"");
- selection.tqreplace("&amp;","&");
+ selection.replace("&lt;","<");
+ selection.replace("&gt;",">");
+ selection.replace("&quot;","\"");
+ selection.replace("&amp;","&");
kapp->tqclipboard()->setText(selection, TQClipboard::Clipboard);
}
@@ -453,7 +453,7 @@ void MakeWidget::specialCheck( const TQString& file, TQString& fName ) const
TQStringList files = m_part->project()->allFiles();
for( TQStringList::iterator it = files.begin() ; it != files.end(); ++it)
{
- if( (*it).tqcontains( file ) )
+ if( (*it).contains( file ) )
{
fName = URLUtil::canonicalPath( m_part->project()->projectDirectory() + "/" + *it );
}