summaryrefslogtreecommitdiffstats
path: root/src/kile/kilegrepdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kile/kilegrepdialog.cpp')
-rw-r--r--src/kile/kilegrepdialog.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/kile/kilegrepdialog.cpp b/src/kile/kilegrepdialog.cpp
index bfb4695..24beb0d 100644
--- a/src/kile/kilegrepdialog.cpp
+++ b/src/kile/kilegrepdialog.cpp
@@ -458,11 +458,11 @@ void KileGrepDialog::slotItemSelected(const TQString& item)
TQString filename, linenumber;
TQString str = item;
- if ( (pos = str.tqfind(':')) != -1)
+ if ( (pos = str.find(':')) != -1)
{
filename = str.left(pos);
str = str.right(str.length()-1-pos);
- if ( (pos = str.tqfind(':')) != -1)
+ if ( (pos = str.find(':')) != -1)
{
linenumber = str.left(pos);
if ( m_mode == KileGrep::Project )
@@ -508,14 +508,14 @@ void KileGrepDialog::startGrep()
void KileGrepDialog::processOutput()
{
int pos;
- while ( (pos = buf.tqfind('\n')) != -1)
+ while ( (pos = buf.find('\n')) != -1)
{
TQString item = buf.left(pos);
if ( ! item.isEmpty() )
{
if ( m_mode == KileGrep::Project )
{
- if ( item.tqfind(m_projectdir + '/') == 0 )
+ if ( item.find(m_projectdir + '/') == 0 )
resultbox->insertItem( item.mid(m_projectdir.length()+1) );
else
resultbox->insertItem(item);
@@ -602,7 +602,7 @@ TQString KileGrepDialog::getPattern()
if ( pattern.isEmpty() )
pattern = pattern_combo->currentText();
else
- pattern.tqreplace("%s", pattern_combo->currentText());
+ pattern.replace("%s", pattern_combo->currentText());
}
else
{
@@ -617,7 +617,7 @@ TQString KileGrepDialog::getPattern()
TQString KileGrepDialog::getShellPattern()
{
TQString pattern = getPattern();
- pattern.tqreplace("'", "'\\''");
+ pattern.replace("'", "'\\''");
return '\'' + pattern + '\'';
//return KProcess::quote(pattern);
}
@@ -647,7 +647,7 @@ TQString KileGrepDialog::buildFilesCommand()
files = files + " -o -name " + '\'' + (*it) + '\'';
TQString shell_command;
- shell_command += "tqfind ";
+ shell_command += "find ";
shell_command += KProcess::quote(dir_combo->url());
shell_command += " \\( -name ";
shell_command += files;